From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#9772: OSX breakage Date: Tue, 29 Nov 2011 18:39:56 +0200 Message-ID: <83obvu6fxf.fsf@gnu.org> References: <4ED3AA79.8060605@lassnig.net> <838vn06swa.fsf@gnu.org> <4ED3DA30.1050006@cs.ucla.edu> <871usrh69t.fsf@gnu.org> <4ED4A5BE.80008@cs.ucla.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1322584880 23746 80.91.229.12 (29 Nov 2011 16:41:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 29 Nov 2011 16:41:20 +0000 (UTC) Cc: mario@lassnig.net, cyd@gnu.org, 9772@debbugs.gnu.org, 9960@debbugs.gnu.org, 10155@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 29 17:41: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 1RVQk6-0001ae-S0 for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Nov 2011 17:41:14 +0100 Original-Received: from localhost ([::1]:35664 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RVQk6-0003aw-EP for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Nov 2011 11:41:14 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:32836) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RVQjy-0003Zu-TV for bug-gnu-emacs@gnu.org; Tue, 29 Nov 2011 11:41:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RVQju-0006Bn-FZ for bug-gnu-emacs@gnu.org; Tue, 29 Nov 2011 11:41:06 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44379) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RVQju-0006Bj-Cb for bug-gnu-emacs@gnu.org; Tue, 29 Nov 2011 11:41:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RVQlq-0002d9-JO for bug-gnu-emacs@gnu.org; Tue, 29 Nov 2011 11:43:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Nov 2011 16:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9772 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 9772-submit@debbugs.gnu.org id=B9772.132258495010063 (code B ref 9772); Tue, 29 Nov 2011 16:43:02 +0000 Original-Received: (at 9772) by debbugs.gnu.org; 29 Nov 2011 16:42:30 +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 1RVQlJ-0002c8-LU for submit@debbugs.gnu.org; Tue, 29 Nov 2011 11:42:30 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RVQlF-0002bq-RZ; Tue, 29 Nov 2011 11:42:27 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LVF00600KVOCX00@a-mtaout20.012.net.il>; Tue, 29 Nov 2011 18:39:51 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.228.122.78]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LVF001NBKYDOGA1@a-mtaout20.012.net.il>; Tue, 29 Nov 2011 18:39:51 +0200 (IST) In-reply-to: <4ED4A5BE.80008@cs.ucla.edu> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 29 Nov 2011 11:43: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:54424 Archived-At: > Date: Tue, 29 Nov 2011 01:28:30 -0800 > From: Paul Eggert > CC: Eli Zaretskii , mario@lassnig.net, > 9772@debbugs.gnu.org, 9960@debbugs.gnu.org, 10155@debbugs.gnu.org > > On 11/28/11 21:00, Chong Yidong wrote: > > 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 > > working. > > Here's a proposed patch to fix that, by having Emacs use Gnulib's > environ module. This syncs from Gnulib, and so it also brings > in the patches for Bug#9772 and Bug#9960. (It is possible to > pull out just the environ fix by hand, but that's an error-prone process > and I'd rather avoid it.) I have tested this on Fedora 15, > but not on OSX nor on Windows. FWIW, I'd very much prefer not to install such large changes a day or two before the next pretest. If the only practical way of fixing this within gnulib is the proposed changeset, I'd say let's just add a declaration of environ conditioned on OS X and FreeBSD. I don't like this solution, but I think on balance it has less potential for destabilizing the build.