Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Dec 2008 19:58:19 -0800
From:      Gary Kline <kline@thought.org>
To:        Mitar <mmitar@gmail.com>
Cc:        Mel <fbsd.questions@rachie.is-a-geek.net>, freebsd-questions@freebsd.org
Subject:   Re: Open with O_APPEND fails
Message-ID:  <20081228035819.GD82585@thought.org>
In-Reply-To: <f63c4b2d0812271916l180c6c9bt9678cebc8f808587@mail.gmail.com>
References:  <f63c4b2d0812271246u18a881e6j87e0054c24f4661a@mail.gmail.com> <200812271517.46409.fbsd.questions@rachie.is-a-geek.net> <f63c4b2d0812271916l180c6c9bt9678cebc8f808587@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"

-- 
 Gary Kline  kline@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081228035819.GD82585>