From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?B?SmFuIERqw6Rydg==?= Newsgroups: gmane.comp.lib.gnulib.bugs,gmane.emacs.devel Subject: Re: bug#7859: syncing Emacs from sources maintained elsewhere Date: Thu, 20 Jan 2011 07:45:17 +0100 Message-ID: <4D37D9FD.3050805@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 1295505968 29338 80.91.229.12 (20 Jan 2011 06:46:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 20 Jan 2011 06:46:08 +0000 (UTC) Cc: 7859@debbugs.gnu.org, bug-gnulib , 7856@debbugs.gnu.org, emacs-devel@gnu.org To: Paul Eggert Original-X-From: bug-gnulib-bounces+gnu-bug-gnulib=m.gmane.org@gnu.org Thu Jan 20 07:46:03 2011 Return-path: Envelope-to: gnu-bug-gnulib@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 1PfoHT-0000yi-1d for gnu-bug-gnulib@m.gmane.org; Thu, 20 Jan 2011 07:46:03 +0100 Original-Received: from localhost ([127.0.0.1]:58658 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PfoHS-0006yn-KD for gnu-bug-gnulib@m.gmane.org; Thu, 20 Jan 2011 01:46:02 -0500 Original-Received: from [140.186.70.92] (port=56575 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PfoHI-0006yc-PK for bug-gnulib@gnu.org; Thu, 20 Jan 2011 01:45:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PfoHH-0002ic-9g for bug-gnulib@gnu.org; Thu, 20 Jan 2011 01:45:52 -0500 Original-Received: from smtprelay-b12.telenor.se ([62.127.194.21]:42994) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PfoHH-0002iI-4J; Thu, 20 Jan 2011 01:45:51 -0500 Original-Received: from ipb4.telenor.se (ipb4.telenor.se [195.54.127.167]) by smtprelay-b12.telenor.se (Postfix) with ESMTP id 9EDE1E9B40; 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-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: bug-gnulib@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Gnulib discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnulib-bounces+gnu-bug-gnulib=m.gmane.org@gnu.org Errors-To: bug-gnulib-bounces+gnu-bug-gnulib=m.gmane.org@gnu.org Xref: news.gmane.org gmane.comp.lib.gnulib.bugs:24812 gmane.emacs.devel:134802 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.