Bug #9946 Updated: asctime_r has wrong number of arguments

From: Date: Tue, 23 Oct 2001 12:46:31 +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-68798@lists.php.net to get a copy of this message
ID: 9946 User updated by: shrub@yahoo.com Reported By: shrub@yahoo.com Old Status: Feedback Status: Open Bug Type: Compile Failure Operating System: Irix 5.3 PHP Version: 4.0.4pl1 New Comment: I no longer have access to the SGI and IRIX 5.3 -- we sold it. However, looking at line 560 of the PHP 4.0.6 source, it appears you haven't changed anything. Paul Previous Comments: ------------------------------------------------------------------------ [2001-10-23 07:25:28] sniper@php.net Does this happen with PHP 4.0.6? Or with latest cvs snapshot from http://snaps.php.net/ ? --Jani ------------------------------------------------------------------------ [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 (#68798) next »