Sure, but would should the default option be? Defaulting to assuming that the target has a broken libc can cause race conditions (as the append operation is no-longer atomic).
Default to assuming a working libc will cause "a+" operations to fail when the target actually has a broken libc. I don't want to start adding all kinds of weird target checks; I leave that to other people more familiar with this stuff. --Wez. On Thu, 2 Jan 2003, Alex Waugh wrote: > In message <cvswez1041415097@cvsserver> > "Wez Furlong" <[EMAIL PROTECTED]> wrote: > > > wez Wed Jan 1 04:58:17 2003 EDT > > > > Modified files: > > /php4 acinclude.m4 configure.in > > /php4/main streams.c > > Log: > > Workaround for glibc 2.2.9x and later "a+" bug that does not seek to EOF for > > files fopen()ed with that mode. > > This breaks the build when cross compiling. Please could you add a > default option to AC_TRY_RUN -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php