Mail Archives: cygwin-developers/1998/02/19/10:02:55
From: Sergey Okhapkin <sos AT prospect DOT com DOT ru>
Date: Thu, 19 Feb 1998 10:24:32 +0300
Geoffrey Noer wrote:
> > I'm not sure. When O_APPEND is set, we have to seek to end of file on
> > fdopen() call. When __SAPP is set, _every_ write call seeks to eof
before
> > write! Is it a correct behavior for O_APPEND? BTW, where fdflags
variable
> > is defined?
>
> -------------------------------- patch -----------------------------
I have no time to check your patch now, but I have the only question - will
write() call seek to the end of file if O_APPEND is set on every write call
(incorrect behavior) or just on on the first call?
Just to clarify, as I just posted, seeking to the end of file on every
write call if O_APPEND is set is correct behaviour.
Ian
- Raw text -