Bug #9946 Updated: asctime_r has wrong number of arguments

From: Date: Tue, 23 Oct 2001 13:10:47 +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-68803@lists.php.net to get a copy of this message
ID: 9946 Updated by: sniper Reported By: shrub@yahoo.com Old Status: Open Status: Closed Bug Type: Compile Failure Operating System: Irix 5.3 PHP Version: 4.0.4pl1 New Comment: It's not that simple..and changing that line is not necessarily the right fix. As you can't do any testing anymore, I'm bogusing this report. If someone else using IRIX has this problem, they can submit a new report. --Jani Previous Comments: ------------------------------------------------------------------------ [2001-10-23 08:46:31] shrub@yahoo.com 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 ------------------------------------------------------------------------ [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 (#68803) next »