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

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Dec 28, 2008 at 05:03:59AM +0100, Mitar wrote:
> Hi!
> 
> On Sun, Dec 28, 2008 at 4:58 AM, Gary Kline <kline@thought.org> wrote:
> > Just a thought, but have you figured out what the value of
> > that OR is? then check the 6.x and 7.x src.
> 
> You mean O_RDONLY? Is not that 0? So that O_RDONLY | O_APPEND is the
> same as O_APPEND? (That is why I am writing about O_APPEND flag and
> not O_RDONLY | O_APPEND as that bug report.
> 
> 
> Mitar



	i WAS in fact, just looking at man open, but not the header.
	just check the int values for the two #defines, OR them, then
	stare at the 6.x and 7.x code.  more simply, diff the two....

	this is a bug--thanks for the Clue--but it is fixable.

	nutshell, it may be zero: i don't know.

	gary

-- 
 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?20081228054646.GA90607>