Open with O_APPEND fails

Mitar mmitar at
Sun Dec 28 03:16:42 UTC 2008


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


More information about the freebsd-questions mailing list