At 03:36 21-8-2002, Marcus Börger wrote:

>I made the functions a bit more C99 complient (maybe we should use
>some C99 complience suit...) but unfortuanetley that was not all.
>1) someone must have changed ini setting precision from 14 to 12
>Adding special INI section to array tests fixed test 1 & 2.
>2) test 003 Test usort, uksort and uasort
>All this functions fail on the subarray....

That test is now fixed.

There's indeed a printf bug, for AIX:
float(-.3333333333) on 003.phpt.

Funny thing is, that AIX has snprintf, and it's used.

The manpage is here - if you want to see whether that complies to
your requirements:
http://publib.boulder.ibm.com/doc_link/en_US/a_doc_lib/libs/basetrf2/snprintf.htm

But it may be related to a bigger problem, as there are also pure
negative array indexes:
[-2147483648]=>
string(6) "monkey"

Must be a type problem.


Relating to that, there is a overall mixup for AIX, with headers, resulting
in various implicit declaration of standard functions like strcasecmp.

This is because AIX has <string.h> as well as <strings.h> and has divided
the function definitions amongst those two.

Additionally time_t != long.

I'll see tomorrow, what I can gather and report and/or provide patches.
Some examples:
/home/mdev/_src/php-HEAD/ext/mysql/php_mysql.c: In function 
`php_mysql_do_connect':
/home/mdev/_src/php-HEAD/ext/mysql/php_mysql.c:675: warning: implicit 
declaration of function `strcasecmp'
/home/mdev/_src/php-HEAD/ext/mysql/php_mysql.c: In function `zif_mysql_info':
/home/mdev/_src/php-HEAD/ext/mysql/php_mysql.c:987: warning: `id' might be 
used uninitialized in this function



/home/mdev/_src/php-HEAD/ext/session/session.c: In function 
`php_session_create_id':
/home/mdev/_src/php-HEAD/ext/session/session.c:486: warning: long int 
format, time_t arg (arg 3)
/home/mdev/_src/php-HEAD/ext/session/session.c:486: warning: long int 
format, suseconds_t arg (arg 4)
/home/mdev/_src/php-HEAD/ext/session/session.c: In function 
`php_session_cache_limiter':



Met vriendelijke groeten / With kind regards,

Webmaster IDG.nl
Melvyn Sopacua


--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to