Open with O_APPEND fails
Gary Kline
kline at thought.org
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 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.
>
Just a thought, but have you figured out what the value of
that OR is? then check the 6.x and 7.x src.
gary
>
> Mitar
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> 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
http://jottings.thought.org http://transfinite.thought.org
The 2.17a release of Jottings: http://jottings.thought.org/index.php
More information about the freebsd-questions
mailing list