Re: cvs: php4 / acinclude.m4 configure.in /main streams.c
| From: | Wez Furlong | Date: | Thu, 02 Jan 2003 17:31:54 +0000 |
| Subject: | Re: cvs: php4 / acinclude.m4 configure.in /main streams.c | ||
| References: | 1 2 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-17517@lists.php.net to get a copy of this message | ||
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" <wez.php@thebrainroom.net> 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