www.delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
To: | autoconf-patches AT gnu DOT org |
Cc: | cygwin AT cygwin DOT com |
Subject: | Re: cygwin -mno-cygwin AC_CHECK_SIZEOF |
References: | <20061201023212 DOT GH19404 AT cox DOT net> <456FA8DD DOT 3030409 AT byu DOT net> <Pine DOT GSO DOT 4 DOT 63 DOT 0611302348180 DOT 17676 AT access1 DOT cims DOT nyu DOT edu> <20061201122805 DOT GK19404 AT cox DOT net> <4570316E DOT 5000109 AT byu DOT net> |
From: | Paul Eggert <eggert AT CS DOT UCLA DOT EDU> |
Date: | Fri, 01 Dec 2006 11:22:19 -0800 |
In-Reply-To: | <4570316E.5000109@byu.net> (Eric Blake's message of "Fri, 01 Dec 2006 06:43:10 -0700") |
Message-ID: | <87wt5bpgk4.fsf@penguin.cs.ucla.edu> |
User-Agent: | Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
MIME-Version: | 1.0 |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Eric Blake <ebb9 AT byu DOT net> writes: > Patch below. Keep replies on the autoconf-patches list. Thanks. In retrospect it was a mistake to append the trailing newline, I guess. I installed the following: it differs from your patch only in adding more commentary. 2006-12-01 Eric Blake <ebb9 AT byu DOT net> * lib/autoconf/c.m4 (AC_LANG_INT_SAVE): Avoid newline, to aid in cross-compiling from cygwin to mingw. Reported by Bob Rossi. This resurrects the 2000-11-30 patch to aclang.m4, which was mistakenly removed in the 2001-09-17 patch to lib/autoconf/c.m4. --- lib/autoconf/c.m4 28 Nov 2006 00:26:45 -0000 1.240 +++ lib/autoconf/c.m4 1 Dec 2006 19:20:43 -0000 @@ -284,15 +284,17 @@ static unsigned long int ulongval () { r long int i = longval (); if (i != ($2)) return 1; - fprintf (f, "%ld\n", i); + fprintf (f, "%ld", i); } else { unsigned long int i = ulongval (); if (i != ($2)) return 1; - fprintf (f, "%lu\n", i); + fprintf (f, "%lu", i); } + /* Do not output a trailing newline, as this causes \r\n confusion + on some platforms. */ return ferror (f) || fclose (f) != 0; ])]) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |