delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/02/19/02:00:11

From: sos AT prospect DOT com DOT ru (Sergey Okhapkin)
Subject: RE: The alleged newlib/libc/stdio/fdopen.c bug
19 Feb 1998 02:00:11 -0800 :
Message-ID: <01BD3D20.91E677D0.cygnus.cygwin32.developers@gater.krystalbank.msk.ru>
To: "cygwin32-developers AT cygnus DOT com" <cygwin32-developers AT cygnus DOT com>,
"'Geoffrey Noer'" <noer AT cygnus DOT com>

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?

--
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia
Looking for a job.


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019