cvs: php-src(PHP_4_3) /ext/standard basic_functions.c

From: Date: Wed, 15 Oct 2003 00:19:31 +0000
Subject: cvs: php-src(PHP_4_3) /ext/standard basic_functions.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-24136@lists.php.net to get a copy of this message
wez Tue Oct 14 20:19:31 2003 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/standard basic_functions.c Log: Don't forget to check for tzset... Index: php-src/ext/standard/basic_functions.c diff -u php-src/ext/standard/basic_functions.c:1.543.2.23 php-src/ext/standard/basic_functions.c:1.543.2.24 --- php-src/ext/standard/basic_functions.c:1.543.2.23 Tue Oct 14 20:14:37 2003 +++ php-src/ext/standard/basic_functions.c Tue Oct 14 20:19:30 2003 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: basic_functions.c,v 1.543.2.23 2003/10/15 00:14:37 wez Exp $ */ +/* $Id: basic_functions.c,v 1.543.2.24 2003/10/15 00:19:30 wez Exp $ */ #include "php.h" #include "php_streams.h" @@ -950,11 +950,13 @@ } # endif } +#ifdef HAVE_TZSET /* don't forget to reset the various libc globals that * we might have changed by an earlier call to tzset(). */ if (!strncmp(pe->key, "TZ", pe->key_len)) { tzset(); } +#endif efree(pe->putenv_string); efree(pe->key);

« previous php.cvs (#24136) next »