Bug #9946 Updated: asctime_r has wrong number of arguments

From: Date: Tue, 23 Oct 2001 11:25:28 +0000
Subject: Bug #9946 Updated: asctime_r has wrong number of arguments
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-68790@lists.php.net to get a copy of this message
ID: 9946 Updated by: sniper Reported By: shrub@yahoo.com Old Status: Open Status: Feedback Bug Type: Compile Failure Operating System: Irix 5.3 PHP Version: 4.0.4pl1 New Comment: Does this happen with PHP 4.0.6? Or with latest cvs snapshot from http://snaps.php.net/ ? --Jani Previous Comments: ------------------------------------------------------------------------ [2001-03-22 21:59:08] shrub@yahoo.com 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 this bug report at http://bugs.php.net/?id=9946&edit=1

« previous php.dev (#68790) next »