PHP 4.0 Bug #3648: Problem with *time_r in php-4.0b4 4.0b3 ok
| From: | O dot Stahl at lsw dot uni-heidelberg dot de | Date: | Mon, 28 Feb 2000 11:23:59 +0000 |
| Subject: | PHP 4.0 Bug #3648: Problem with *time_r in php-4.0b4 4.0b3 ok | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-16090@lists.php.net to get a copy of this message | ||
From: O.Stahl@lsw.uni-heidelberg.de
Operating system: HP-UX 10.20
PHP version: 4.0 Beta 4 Patch Level 1
PHP Bug Type: Compile Failure
Bug description: Problem with *time_r in php-4.0b4 4.0b3 ok
The *time_r functions on HP-UX have different parameters from what
is assumed in php4.0b4. This causes compilation to fail. php4.0b3 is ok.
e.g. from man asctime_r on HP-UX:
int asctime_r(const struct tm *timeptr, char *buffer, int buflen);
It compiles, when all *time_r defines are commented in php_config.h, as e.g.
/*#define HAVE_ASCTIME_R 1 */
after ./configure