php-developer-list | 2002112
Date: 11/16/02
- Next message: Andi Gutmans: "Re: [PHP-DEV] ZEND_ADD_STRING patch"
- Previous message: Sebastian Nohn: "[PHP-DEV] account update request"
- In reply to: Michael Mauch: "[PHP-DEV] Re: #19259 [Csd->Ctl]: sort-functions don't work"
- Next in thread: Marcus Börger: "Re: [PHP-DEV] Re: #19259 [Csd->Ctl]: sort-functions don't work"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> -----Original Message-----
> From: Michael Mauch [mailto:michael.mauch <email protected>]
> Sent: Saturday, November 16, 2002 4:29 PM
> To: php-dev <email protected>
> Subject: [PHP-DEV] Re: #19259 [Csd->Ctl]: sort-functions don't work
>
>
> I wrote:
>
> > These test results scared me as well, but it looks like this array
> > test itsself is flawed: it relies on the fact that integers
> > automatically wrap around to negative values at INT_MAX (=2147483647
> > on 32 bit machines).
>
> Attaching a patch for the array test: I changed the array in data.inc
> to have only "normal" values (1000 and -1000) instead of 2147483647 and
> -2147483647, and used the output of the tests on a 32 bit Linux machine
> to be the expected result. With the patch, all three tests PASSed on the
> 64 bit Tru64 machine. So array sorting is fortunately not broken again
> on Tru64.
Great! It would be nice if someone with enough karma apply this patch.
Regards,
Sebastian Nohn
-- sebastian <email protected> - http://www.nohn.net/ PGP Key Available - Did I help you? Consider a gift: http://www.amazon.de/exec/obidos/wishlist/3HYH6NR8ZI0WI/-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: Andi Gutmans: "Re: [PHP-DEV] ZEND_ADD_STRING patch"
- Previous message: Sebastian Nohn: "[PHP-DEV] account update request"
- In reply to: Michael Mauch: "[PHP-DEV] Re: #19259 [Csd->Ctl]: sort-functions don't work"
- Next in thread: Marcus Börger: "Re: [PHP-DEV] Re: #19259 [Csd->Ctl]: sort-functions don't work"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

