Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 May 2004 14:24:20 +0100
From:      David Malone <dwmalone@maths.tcd.ie>
To:        Anton Alin-Adrian <aanton@reversedhell.net>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: fopen("file","a")
Message-ID:  <20040526132420.GA37102@lanczos.maths.tcd.ie>
In-Reply-To: <40AF7F5A.1080500@reversedhell.net>
References:  <40AF7F5A.1080500@reversedhell.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, May 22, 2004 at 07:27:06PM +0300, Anton Alin-Adrian wrote:
> 	if ( (fp_queue=fopen(fqueue,"a"))  ==NULL);//will wait for locks
                                                ^^^^^
                                                Extra semicolon.
> 	{
> 		perror("fopen(fqueue,\"a\")");
> 		//exit(EXIT_FAILURE);
> 	}

	David.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040526132420.GA37102>