[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnulib] Patch proposal: 1-gary-safe-xfree.patch

From: Paul Eggert
Subject: Re: [Bug-gnulib] Patch proposal: 1-gary-safe-xfree.patch
Date: 15 Sep 2003 11:20:32 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Bruno Haible <address@hidden> writes:

> > +     address@hidden:@if _POSIX_VERSION < 200112 && !defined __GLIBC__
> > +        @%:@error "'free (NULL)' is not known to work"
> > +       @%:@endif]])],
> This is too conservative. This test succeeds only on glibc systems,
> and fails on Solaris, IRIX, HP-UX, OSF/1, AIX, Woe32.

OK, how about if we change it to plain '#ifndef _POSIX_VERSION'?  That
should work on all the systems that you mentioned, except perhaps
Woe32 (which I don't know much about, but people who do can suggest an
ifdef perhaps).

reply via email to

[Prev in Thread] Current Thread [Next in Thread]