Open with O_APPEND fails
Mitar
mmitar at gmail.com
Sun Dec 28 03:16:42 UTC 2008
Hi!
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:
https://issues.apache.org/bugzilla/show_bug.cgi?id=45923
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
O_APPEND.
Mitar
More information about the freebsd-questions
mailing list