From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#7856: bug#7859: syncing Emacs from sources maintained elsewhere Date: Thu, 20 Jan 2011 07:45:17 +0100 Message-ID: <4D37D9FD.3050805__4824.49513297087$1295506504$gmane$org@swipnet.se> References: <4D2BA939.5090903@cs.ucla.edu> <4D34A88F.4080400@cs.ucla.edu> <4D35D842.5030003@cs.ucla.edu> <4D367F0B.3040808@cs.ucla.edu> <4D368D16.7020702@swipnet.se> <25y66hjmiu.fsf@fencepost.gnu.org> <4D36BF43.3050007@cs.ucla.edu> <4D370928.1040601@swipnet.se> <4D377768.8070504@cs.ucla.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1295506505 31298 80.91.229.12 (20 Jan 2011 06:55:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 20 Jan 2011 06:55:05 +0000 (UTC) Cc: 7859@debbugs.gnu.org, bug-gnulib , 7856@debbugs.gnu.org, emacs-devel@gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 20 07:55:00 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PfoQ7-0004uj-3a for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Jan 2011 07:54:59 +0100 Original-Received: from localhost ([127.0.0.1]:35136 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PfoQ6-0001T1-Jc for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Jan 2011 01:54:58 -0500 Original-Received: from [140.186.70.92] (port=60640 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PfoPr-0001PR-ED for bug-gnu-emacs@gnu.org; Thu, 20 Jan 2011 01:54:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PfoPq-0004dT-7i for bug-gnu-emacs@gnu.org; Thu, 20 Jan 2011 01:54:43 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44952) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PfoPq-0004dP-51 for bug-gnu-emacs@gnu.org; Thu, 20 Jan 2011 01:54:42 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Pfo9h-0007gg-Kc; Thu, 20 Jan 2011 01:38:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 20 Jan 2011 06:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7856 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7856-submit@debbugs.gnu.org id=B7856.129550545229507 (code B ref 7856); Thu, 20 Jan 2011 06:38:01 +0000 Original-Received: (at 7856) by debbugs.gnu.org; 20 Jan 2011 06:37:32 +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 1Pfo9D-0007fs-Il for submit@debbugs.gnu.org; Thu, 20 Jan 2011 01:37:31 -0500 Original-Received: from smtprelay-h22.telenor.se ([195.54.99.197]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pfo9C-0007fc-02; Thu, 20 Jan 2011 01:37:30 -0500 Original-Received: from ipb4.telenor.se (ipb4.telenor.se [195.54.127.167]) by smtprelay-h22.telenor.se (Postfix) with ESMTP id C8A4FE899B; Thu, 20 Jan 2011 07:45:19 +0100 (CET) X-SENDER-IP: [85.225.45.100] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtU1ALpoN01V4S1kPGdsb2JhbACEEoRLm3EMAQEBATUvrGqQI4Ekgzh0BI5CiBg X-IronPort-AV: E=Sophos;i="4.60,349,1291590000"; d="scan'208";a="1707555992" Original-Received: from c-642de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.100]) by ipb4.telenor.se with ESMTP; 20 Jan 2011 07:45:19 +0100 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id A0CC47FA05A; Thu, 20 Jan 2011 07:45:18 +0100 (CET) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 In-Reply-To: <4D377768.8070504@cs.ucla.edu> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 20 Jan 2011 01:38:01 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:43478 Archived-At: Paul Eggert skrev 2011-01-20 00.44: > I see that Jan Dj=C3=A4rv tracked the problem down: > unexmacosx.c included before, > and this caused the problem. Generally speaking, > should be included before all other files, since it > defines macros such as _FILE_OFFSET_BITS that may affect > the ABI, and compiling files sometimes with one ABI and > sometimes with another can lead to disaster. > > I see that unexmacos.c still doesn't include first, > though. I suggest that it be changed to do that. > Not possible, I added this comment: /* config.h #define:s malloc/realloc/free and then includes stdlib.h. We want the undefined versions, but if config.h includes stdlib.h with the #define:s in place, the prototypes will be wrong and we get warnings. To prevent that, include stdlib.h before config.h. */ Jan D.