Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MUiwv-0004nL-Ob for mharc-grub-devel@gnu.org; Sat, 25 Jul 2009 11:14:13 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MUiwt-0004l1-A0 for grub-devel@gnu.org; Sat, 25 Jul 2009 11:14:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MUiwo-0004i9-NI for grub-devel@gnu.org; Sat, 25 Jul 2009 11:14:10 -0400 Received: from [199.232.76.173] (port=58205 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MUiwo-0004i4-G1 for grub-devel@gnu.org; Sat, 25 Jul 2009 11:14:06 -0400 Received: from mail-ew0-f228.google.com ([209.85.219.228]:48384) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MUiwo-0001Nb-2U for grub-devel@gnu.org; Sat, 25 Jul 2009 11:14:06 -0400 Received: by ewy28 with SMTP id 28so1517198ewy.42 for ; Sat, 25 Jul 2009 08:14:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:in-reply-to :references:content-type:date:message-id:mime-version:x-mailer; bh=8wJqoE/fGOmfn389XtV9RLPJaVk8JFWyED8FPNMOVKs=; b=XeeA7r5j1Aw70susTAZ6atReSojNy3IeK8HFcPHRNogovTQfArpTpPJ3MSl/iRfYUS WlOD5cpG4/BSbHlks55olqxPp/BPwCPg/PgNsVYD5m+0MBB2JD598GcEc+Xio4SOxnft nNH8Ktx/XAwVP47g4tpBu/t7Br/X3TnitpuvU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id :mime-version:x-mailer; b=kFmFY4QtPRbMyeSWGxoDgGdFEQ49CwPDMFfmNsa2XmEWv/OWD2axKKZOM3sIZamV86 ChEj9VQd3EoKD6mD4Fp/prrB3WmoJScnLtaJpS7KhKNQKY13vWVjXHEdAArp3BAY/s5y wbFeU+AjVwm9WA9bAp6FwPuQi/ITCaFfMbp/M= Received: by 10.210.140.11 with SMTP id n11mr186997ebd.88.1248534844369; Sat, 25 Jul 2009 08:14:04 -0700 (PDT) Received: from ?192.168.1.100? (89.141.11.145.dyn.user.ono.com [89.141.11.145]) by mx.google.com with ESMTPS id 28sm3154144eyg.32.2009.07.25.08.14.02 (version=SSLv3 cipher=RC4-MD5); Sat, 25 Jul 2009 08:14:03 -0700 (PDT) From: Javier =?ISO-8859-1?Q?Mart=EDn?= To: The development of GRUB 2 In-Reply-To: <1248385682.2661.112.camel@mj> References: <1248289850.10302.57.camel@accesodirecto.casa> <1248375298.4660.174.camel@accesodirecto.casa> <1248380168.2661.71.camel@mj> <1248384300.4660.214.camel@accesodirecto.casa> <1248385682.2661.112.camel@mj> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-Up0sfZT0Cr1SoNf2eeHs" Date: Sat, 25 Jul 2009 17:14:14 +0200 Message-Id: <1248534855.4660.217.camel@accesodirecto.casa> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: [RFC, PATCH] C99 format specifiers for fixed-length integer types X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jul 2009 15:14:11 -0000 --=-Up0sfZT0Cr1SoNf2eeHs Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable El jue, 23-07-2009 a las 17:48 -0400, Pavel Roskin escribi=C3=B3: > On Thu, 2009-07-23 at 23:25 +0200, Javier Mart=C3=ADn wrote: >=20 > > With the reduced version of the patch I'm putting forward, such a > > (hypothetical, indeed) change will only impact types.h, while otherwise > > many source files will need to be modified in a hunt for "%ll"s and > > their variations. We can consider "lower" types safe since the > > autopromotion rules will keep the compiler happy even if int becomes > > 64-bit. >=20 > OK, I'm fine with this change. It would only address the problem we > have now (long vs .long long for 64-bit types) without trying to > anticipate what other platforms we may support. >=20 OK then... what about this for a ChangeLog entry? 2009-07-25 Javier Mart=C3=ADn * include/grub/types.h (GRUB_PRIi64): new macro (GRUB_PRId64): likewise (GRUB_PRIu64): likewise (GRUB_PRIo64): likewise (GRUB_PRIx64): likewise (GRUB_PRIX64): likewise (GRUB_INT64_C): likewise (GRUB_UINT64_C): likewise --=20 -- Lazy, Oblivious, Recurrent Disaster -- Habbit --=-Up0sfZT0Cr1SoNf2eeHs Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Esto es una parte de mensaje firmado digitalmente -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iQIcBAABAgAGBQJKayFCAAoJEKSl+Fbdeo72SDIQAIyWw80Fl19qBJ+ybmyPuTx+ cK/Usf5zuFCy288vThYQDAhoGjgm4hdB0bQu34vgXrhj9QOYZfbj3WgutG4Z/XdO MT2+Jf2A9h/CxLtZ/wT38BXxCe9Pf96ijTViIHoaNt6cqi1D8clTYMP/Qzh0d98U kNEOFPSOyVYn92+6SZm/2bHXh7mfbeO0aVZNFQlfbjAYmyLUwnUSjX+Vv9JG7fD9 WwQS3kJEq/rf7yKgmv2+VrNFWsKvEuYA3NyKnhLAXCDrItO29wGxwJ5FlyOVI7XH JtFCFpIDuJmksi0rlnB9CvMGw9/KF+Bkr9AVNVubRoU4yKMkkcfpGij5tCFVua6c 36OM2vKKyoRZ9LxVaVA1ANgVFMC7oFmX2kykVHvrNDtU51/8mAIRXBlnpxrk/YzA 5outdzDd47q7Je+ENZj/8/B+Yqc/YRrBgQ/Qo7vHqdtb8AuQ2JeEmqDY7eb4tBhH 7Fy05LU1ZrulBFMIlqfhNhflNHnTarIGxytP5FY7QzrCx7XqRNpVfBdxGPwIViXq xGUtmCy6nRNuuZByumF+4w6t6h1WukbRwt6QVivQGHkDkfTrPfqXHYlzsVf0LuVl n/Ii/iGc4S5mPvTnJIqU6d62q9aMEocJ/OCpSFYg39xn78BYQgTFzgScQK2A3Buk OdDJUNRNRT5EqL2O0eDa =daBZ -----END PGP SIGNATURE----- --=-Up0sfZT0Cr1SoNf2eeHs--