Re: CRASH: asctime_r is used wrong in main.c

From: Date: Fri, 26 Nov 1999 20:37:46 +0000
Subject: Re: CRASH: asctime_r is used wrong in main.c
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-6947@lists.php.net to get a copy of this message
On Fri, Nov 26, 1999 at 09:28:26PM +0100, Thies C. Arntzen wrote: > at least on solaris 2.6 it get a 3th argument: > > char *asctime_r(const struct tm *tm,char *buf, int buflen); > > right now we crash in cgi-mode in main.c:673 (strlen(0)). > > too tired to fix and test now.... > Ok, looks like POSIX.1c, Draft 6 is enabled by default. That version defines asctime_r() to use three arguments. The final standard specifies only two arguments. Please try a compile with CFLAGS="-D_POSIX_THREAD_SEMANTICS" -- Regards, Sascha Schumann Consultant

« previous php.version4 (#6947) next »