Re: Proposed change to main.c
| From: | Sascha Schumann | Date: | Wed, 15 Dec 1999 13:30:07 +0000 |
| Subject: | Re: Proposed change to main.c | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-13713@lists.php.net to get a copy of this message | ||
> + retlen = strftime( buf, len, "[%a %b %d %H:%M:%S %Y] ",
> localtime(&cur_time));
Don't use localtime(). Use the thread-safe localtime_r()
instead.
--
Regards,
Sascha Schumann
Consultant