GNU bug report logs - #10155
23.3; HEAD broken by recent commit for emacsclient

Previous Next

Package: emacs;

Reported by: merlyn <at> stonehenge.com (Randal L. Schwartz)

Date: Mon, 28 Nov 2011 17:31:02 UTC

Severity: normal

Found in version 23.3

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Dan Nicolaescu <dann <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 10155 <at> debbugs.gnu.org, "Randal L. Schwartz" <merlyn <at> stonehenge.com>
Subject: bug#10155: 23.3; HEAD broken by recent commit for emacsclient
Date: Mon, 28 Nov 2011 13:44:01 -0500
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: merlyn <at> stonehenge.com (Randal L. Schwartz)
>> Cc: 10155 <at> debbugs.gnu.org
>> Date: Mon, 28 Nov 2011 10:13:47 -0800
>> 
>> Eli> Can you tell which system header declares `environ' on that
>> Eli> platform?
>> 
>> None... just
>> 
>>      extern char **environ;
>> 
>> says the manpage for environ.
>
> Then what would be the appropriate preprocessor symbol to guard such a
> declaration?  Would this do:
>
>  #if defined __APPLE__ && defined __MACH__
>  extern char **environ;
>  #endif

Can this be done in gnulib?
Better hide such ugliness in the compatibility layer...




This bug report was last modified 13 years and 234 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.