From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.bugs Subject: bug#10155: 23.3; HEAD broken by recent commit for emacsclient Date: Mon, 28 Nov 2011 13:44:01 -0500 Message-ID: References: <86lir05fms.fsf@red.stonehenge.com> <837h2k6ryq.fsf@gnu.org> <864nxo5d44.fsf@red.stonehenge.com> <8339d86qiq.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1322505919 8280 80.91.229.12 (28 Nov 2011 18:45:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 28 Nov 2011 18:45:19 +0000 (UTC) Cc: 10155@debbugs.gnu.org, "Randal L. Schwartz" To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 28 19:45:15 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RV6CX-0000yz-Ff for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Nov 2011 19:45:13 +0100 Original-Received: from localhost ([::1]:53785 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RV6CX-0007cy-29 for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Nov 2011 13:45:13 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:44692) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RV6CV-0007cP-3q for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2011 13:45:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RV6CS-0000Vh-Mh for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2011 13:45:10 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41337) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RV6CS-0000Vb-DC for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2011 13:45:08 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RV6EI-0001Yt-D9 for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2011 13:47:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dan Nicolaescu Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Nov 2011 18:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10155 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10155-submit@debbugs.gnu.org id=B10155.13225059645910 (code B ref 10155); Mon, 28 Nov 2011 18:47:02 +0000 Original-Received: (at 10155) by debbugs.gnu.org; 28 Nov 2011 18:46:04 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RV6DI-0001Wn-HV for submit@debbugs.gnu.org; Mon, 28 Nov 2011 13:46:02 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RV6DF-0001Wf-T8 for 10155@debbugs.gnu.org; Mon, 28 Nov 2011 13:45:58 -0500 Original-Received: from dann by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RV6BN-0001u0-UK; Mon, 28 Nov 2011 13:44:01 -0500 In-Reply-To: <8339d86qiq.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 28 Nov 2011 20:38:53 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 28 Nov 2011 13:47:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:54380 Archived-At: Eli Zaretskii writes: >> From: merlyn@stonehenge.com (Randal L. Schwartz) >> Cc: 10155@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...