Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:47550 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 90993 invoked from network); 24 Mar 2010 09:26:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Mar 2010 09:26:52 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.42 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 74.125.82.42 mail-ww0-f42.google.com Received: from [74.125.82.42] ([74.125.82.42:36651] helo=mail-ww0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DE/74-04090-ADAD9AB4 for ; Wed, 24 Mar 2010 04:26:51 -0500 Received: by wwc33 with SMTP id 33so645660wwc.29 for ; Wed, 24 Mar 2010 02:26:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=CkfZSIuMtHAky15U7i/91gBXsdoF+ZnnPc14P8eCyQo=; b=gqVQPtpq5vVHYThqOn32hGUm8DfsmwPSJQiMWj+ESa4lDlG6BY6ghnzv/M7n+SfAnt D4GFvVA3i2kT46FzETGWDZoRhQnsNApt/FlO42BEgSSFAN1odkH87IfLo8hHTxBzQ/f8 m8B/DpJ4RB51QYZJei2m9atHXhgIzx0A7I/Xo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=kFR3DNOur6PvJeKhj15KJnNIwumQxU0DPy76YJMETU7aS226Y9gq5IDwHfS9qKEYw+ qvAui2OJfed4tnjyX4sfOMQNbKpmXEY9rmMdjoLiN+IqmZnGgVCcB9iWs67GovNMEsXA bcHCcRO5tHCAr6g06prgEtnxNmrNgB67pdUm0= MIME-Version: 1.0 Received: by 10.216.157.145 with SMTP id o17mr351432wek.125.1269422805314; Wed, 24 Mar 2010 02:26:45 -0700 (PDT) In-Reply-To: <20100324064852.GA11983@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> Date: Wed, 24 Mar 2010 10:26:45 +0100 Message-ID: To: sean finney Cc: Michael Maclean , internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [PATCH] FNV-1 support for ext/hash From: pierre.php@gmail.com (Pierre Joye) hi Sean, On Wed, Mar 24, 2010 at 7:48 AM, sean finney wrote: > okay, so the hash module is generally broken for files > 2GB? =A0didn't > know that. =A0i see update functions using both uint and size_t, but the > function pointer signature uses uint so i doubt the hash results would > be correct. 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. That's something we could fix in trunk. Cheers, --=20 Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org