Re: cvs: php-src(PHP_5_2) /ext/standard pack.c /ext/standard/tests/strings pack.phpt
| From: | Antony Dovgal | Date: | Tue, 10 Apr 2007 22:56:57 +0000 |
| Subject: | Re: cvs: php-src(PHP_5_2) /ext/standard pack.c /ext/standard/tests/strings pack.phpt | ||
| References: | 1 2 3 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-43820@lists.php.net to get a copy of this message | ||
On 04/11/2007 02:45 AM, Brian Shire wrote:
Yeah, discussed briefly with Jani and Ilia. I can revert it (or temporarily remove those lines of the test) until I can figure out why this doesn't work on Linux if you like? On Darwin the code intval (4294967296) will return -1, while on other systems it appears to be 0. I can reproduce this on the C level by replicating the double- long cast that's happening within PHP. Any suggestions on this would be welcome.Well, if it's just this Darwin/Intel difference then it's not that critical, I believe.
Antony, you said below that you tested on PPC? Seems like this is a Darwin specific problem then (I tested on Darwin/Intel), perhaps I should just remove those tests for Darwin for the time being?Let me see if I can reproduce it on Darwin/Intel, that'll take some time.. -- Wbr, Antony Dovgal