Open with O_APPEND fails

Gary Kline kline at
Sun Dec 28 03:58:25 UTC 2008

On Sun, Dec 28, 2008 at 04:16:41AM +0100, Mitar wrote:
> Hi!
> On Sun, Dec 28, 2008 at 1:17 AM, Mel
> <fbsd.questions at> wrote:
> >    15          fd = open(fname, O_WRONLY|O_APPEND);
> Try only with O_APPEND, without O_WRONLY.
> I have just found a bug report about that:
> But the question remains: why this fails? It works on Linux, as it is
> seen from bug report it works also on FreeBSD 6.x, why it does not
> work anymore on FreeBSD 7.x? Is it correct that it does not work? I
> have not found anywhere written that O_WRONLY should be specified with

	Just a thought, but have you figured out what the value of
	that OR is? then check the 6.x and 7.x src.


> Mitar
> _______________________________________________
> freebsd-questions at mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at"

 Gary Kline  kline at  Public Service Unix
    The 2.17a release of Jottings:

More information about the freebsd-questions mailing list