Open with O_APPEND fails
kline at thought.org
Sun Dec 28 03:58:25 UTC 2008
On Sun, Dec 28, 2008 at 04:16:41AM +0100, Mitar wrote:
> On Sun, Dec 28, 2008 at 1:17 AM, Mel
> <fbsd.questions at rachie.is-a-geek.net> 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.
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
Gary Kline kline at thought.org http://www.thought.org Public Service Unix
The 2.17a release of Jottings: http://jottings.thought.org/index.php
More information about the freebsd-questions