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" , "'Geoffrey Noer'" 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.