diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2011-07-11 17:01:23 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2011-07-11 17:01:23 +0000 |
commit | 388a473255244b8ff8daac24802dda8abf967f48 (patch) | |
tree | f6a1b43e70ec9fc71a6246bbf7072b8c1e82e3d7 | |
parent | 0a7aeb7f2844a37619e2fd6f4e2c5b53d62e7ec3 (diff) | |
download | php-git-388a473255244b8ff8daac24802dda8abf967f48.tar.gz |
Fixed bug #55014 (Compile failure due to improper use of ctime_r()).
-rw-r--r-- | main/reentrancy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/reentrancy.c b/main/reentrancy.c index 5a714273b9..b2fe8f117f 100644 --- a/main/reentrancy.c +++ b/main/reentrancy.c @@ -60,14 +60,14 @@ static MUTEX_T reentrant_locks[NUMBER_OF_LOCKS]; PHPAPI char *php_ctime_r(const time_t *clock, char *buf) { - if (ctime_r(clock, buf, 26) == buf) + if (ctime_r(clock, buf) == buf) return (buf); return (NULL); } PHPAPI char *php_asctime_r(const struct tm *tm, char *buf) { - if (asctime_r(tm, buf, 26) == buf) + if (asctime_r(tm, buf) == buf) return (buf); return (NULL); } |