Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:47575 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 57076 invoked from network); 24 Mar 2010 18:05:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Mar 2010 18:05:31 -0000 Authentication-Results: pb1.pair.com smtp.mail=sean@seanius.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=seanius@seanius.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain seanius.net from 66.93.22.232 cause and error) X-PHP-List-Original-Sender: sean@seanius.net X-Host-Fingerprint: 66.93.22.232 cobija.connexer.com Received: from [66.93.22.232] ([66.93.22.232:58545] helo=cobija.connexer.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D6/0A-33174-8645AAB4 for ; Wed, 24 Mar 2010 13:05:30 -0500 Received: from rangda.stickybit.se (h-234-204.A189.priv.bahnhof.se [81.170.234.204]) by cobija.connexer.com (Postfix) with ESMTPA id E798130170; Wed, 24 Mar 2010 14:05:24 -0400 (EDT) Received: by rangda.stickybit.se (Postfix, from userid 1000) id 0307BCF008; Wed, 24 Mar 2010 19:04:50 +0100 (CET) Date: Wed, 24 Mar 2010 19:04:50 +0100 To: Pierre Joye Cc: Michael Maclean , internals@lists.php.net Message-ID: <20100324180450.GA13860@rangda.stickybit.se> References: <4BA93A30.4040003@no-surprises.co.uk> <20100323224105.GA9531@rangda.stickybit.se> <4BA94C31.2020308@no-surprises.co.uk> <20100324064852.GA11983@rangda.stickybit.se> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="T4sUOijqQbZv57TR" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: [PHP-DEV] [PATCH] FNV-1 support for ext/hash From: seanius@seanius.net (sean finney) --T4sUOijqQbZv57TR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 24, 2010 at 10:26:45AM +0100, Pierre Joye wrote: > As far as I can tell that's not only for the hash module. Many areas > in php and its libraries rely on (u)int instead of size_t. It is or > was a common mistake. The problem is to change the signature now > without breaking ABI. >=20 > That's something we could fix in trunk. yeah, i only brought it up because it was new code being proposed, and no reason to have yet another undocumented place where this needed to be fixed. =20 but, it seems from further info that the hash functions are used elsewhere = in the module in such a way that the parameter ends up treated as a uint no matter what, so i don't think there's much to be done without tackling the larger problem. so, sorry for the noise :) sean --T4sUOijqQbZv57TR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQFLqlRCynjLPm522B0RAnVXAJ0Q19jzM3kt2mtXbJEoECDFx7nj2wCfZ934 VDZCkTJsYgvNlXkMwpDM/CU= =HmKU -----END PGP SIGNATURE----- --T4sUOijqQbZv57TR--