Re: cvs: php-src(PHP_5_1) /ext/gd gd.c

From: Date: Tue, 17 Jan 2006 19:09:47 +0000
Subject: Re: cvs: php-src(PHP_5_1) /ext/gd gd.c
References: 1 2 3  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-36550@lists.php.net to get a copy of this message
OK cool. Just checking... At 11:02 AM 1/17/2006, Pierre wrote:
Hi Andi, On Tue, 17 Jan 2006 10:55:54 -0800 Andi Gutmans <andi@zend.com> wrote: FYI, this actually breaks BC. A negative number evaluates to true. I don't think this change should be an issue but there might have been people who did a < 0 check before. Anyone got a problem with the change? it is actually a bug, it is documented as follow: "Returns FALSE if the allocation failed." I actually thought it was the case, this commit fixed the functions. A negative number is never returned, given the casting "problems", it is a good thing. --Pierre


« previous php.cvs (#36550) next »