[Top][All Lists]

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

Re: OSX breakage

From: Chong Yidong
Subject: Re: OSX breakage
Date: Tue, 29 Nov 2011 13:00:46 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux)

Paul Eggert <address@hidden> writes:

> On 11/28/11 09:47, Eli Zaretskii wrote:
>> Is there really no system header on OS X that declares `environ'?  I'm
>> surprised.
> That's the old, old Unix tradition, alas.  It's not just OS X.
> The "right" way to fix it is to declare "extern char **environ;"
> if it's not already declared.  There's a Gnulib module for that,
> which I can look into -- it puts the declaration into a substitute
> unistd.h if unistd.h doesn't already declare it.

As Eli pointed out in the discussion on bug#10155, there is already code
in lib/unistd.in.h that apparently ought to handle this, but itsn't

I will delay the pretest until this problem is fixed.

reply via email to

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