diff options
| author | Wez Furlong <wez@php.net> | 2003-10-15 00:19:30 +0000 |
|---|---|---|
| committer | Wez Furlong <wez@php.net> | 2003-10-15 00:19:30 +0000 |
| commit | ef14bdb6911d4e13fa3c796d0b9f6a6a08f2187f (patch) | |
| tree | 161060f01c720ac4e9242d0ff56436e71704e1ba /ext | |
| parent | 69cfb62619ee3a5f2f58e41a9f14016876c6934d (diff) | |
| download | php-git-ef14bdb6911d4e13fa3c796d0b9f6a6a08f2187f.tar.gz | |
Don't forget to check for tzset...
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/standard/basic_functions.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index 04140dc74a..9f843d8e04 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -950,11 +950,13 @@ static void php_putenv_destructor(putenv_entry *pe) } # 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); |
