> -----Original Message----- > From: Michael Mauch [mailto:[EMAIL PROTECTED]] > Sent: Saturday, November 16, 2002 4:29 PM > To: [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 -- [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