PHP 4.0 Bug #9946: asctime_r has wrong number of arguments

From: Date: Fri, 23 Mar 2001 02:59:08 +0000
Subject: PHP 4.0 Bug #9946: asctime_r has wrong number of arguments
Groups: php.dev 
Request: Send a blank email to php-dev+get-49789@lists.php.net to get a copy of this message
From: shrub@yahoo.com Operating system: Irix 5.3 PHP version: 4.0.4pl1 PHP Bug Type: Compile Failure Bug description: asctime_r has wrong number of arguments To correct this error: > main.c: In function `php_message_handler_for_zend': > main.c:582: too few arguments to function `asctime_r' change line 582: /* DBR 20010321 correct for nonstandard 3-arg IRIX asctime_r */ datetime_str = php_asctime_r(ta, asctimebuf, sizeof(asctimebuf)-1); Patch courtesy of david robins <dbrobins@uwaterloo.ca>. Config: gcc 2.95.1, irix 5.3 ... configure options were --with-mysql and --with-imap Paul -- Edit Bug report at: http://bugs.php.net/?id=9946&edit=1

« previous php.dev (#49789) next »