From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 31 14:58:06 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E3D3316A403 for ; Wed, 31 Jan 2007 14:58:06 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay08.ispgateway.de (smtprelay08.ispgateway.de [80.67.29.8]) by mx1.freebsd.org (Postfix) with ESMTP id 4D83A13C494 for ; Wed, 31 Jan 2007 14:58:05 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: (qmail 10316 invoked from network); 31 Jan 2007 14:31:25 -0000 Received: from unknown (HELO localhost) (775067@[217.50.129.24]) (envelope-sender ) by smtprelay08.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 31 Jan 2007 14:31:25 -0000 Date: Wed, 31 Jan 2007 15:31:14 +0100 From: Fabian Keil To: freebsd-hackers@freebsd.org Message-ID: <20070131153114.4e76a6ea@localhost> In-Reply-To: <20070131105024.L91177@fledge.watson.org> References: <45C04593.2090704@gmail.com> <20070131085206.GW892@turion.vk2pj.dyndns.org> <45C06167.60401@gmail.com> <86odofjyua.fsf@dwp.des.no> <20070131105024.L91177@fledge.watson.org> X-Mailer: Claws Mail 2.6.1 (GTK+ 2.10.6; i386-portbld-freebsd6.2) X-PGP-KEY-URL: http://www.fabiankeil.de/gpg-keys/freebsd-listen-2008-08-18.asc Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_HDCpO/+1fVQfn4OGVmJ+kpN"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Subject: Re: a question regarding X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jan 2007 14:58:07 -0000 --Sig_HDCpO/+1fVQfn4OGVmJ+kpN Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Robert Watson wrote: > On Wed, 31 Jan 2007, Dag-Erling Sm=F8rgrav wrote: >=20 > > Pascal Hofstee writes: > >> Any additional sugestions/objections are always greatly appreciated. > > > > On 32-bit platforms (i386, powerpc), int is a 32-bit signed integer whi= le=20 > > size_t is a 32-bit unsigned integer. > > > > On 64-bit platforms (amd64, sparc64 etc), int is a 32-bit signed intege= r=20 > > while size_t is a 64-bit unsigned integer. > > > > In both cases, changing this structure member from int to size_t will b= reak=20 > > the ABI. > > > > This doesn't mean you shouldn't do it, just that it should be done with= =20 > > care. >=20 > If we do decide to go ahead with the ABI change, there are a number of ot= her=20 > things that should be done simultaneously, such as changing the uid and g= id=20 > fields to uid_t and gid_t. struct tm's members could be changed as well. Quoting a response I got from Juliusz Chroboczek (the author of Polipo) after reporting a compiler warning: |By the way, IEEE 1003.1-2003 says that tv_sec should be a time_t, |hence by making it a long, FreeBSD and NetBSD are violating the POSIX |standard. Could you please file a bug report with them? I didn't find any claims about FreeBSD being IEEE 1003.1-2003 compliant and therefore didn't consider it a bug, but given that the topic is *_t changes and time_t hasn't come up yet, I'd like to mention it anyway. Fabian --Sig_HDCpO/+1fVQfn4OGVmJ+kpN Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFFwKg7BYqIVf93VJ0RAkgkAJ46e6l4q5xAOmv1QCpCoD33so+U6QCfeeJo 8K137VWewQtzvGOxM27m5gc= =h41F -----END PGP SIGNATURE----- --Sig_HDCpO/+1fVQfn4OGVmJ+kpN--