diff options
| author | Sascha Schumann <sas@php.net> | 1999-11-26 17:07:41 +0000 |
|---|---|---|
| committer | Sascha Schumann <sas@php.net> | 1999-11-26 17:07:41 +0000 |
| commit | 35b30a8d0c506c861475fa5ce394900adfb2f0ed (patch) | |
| tree | 262f8ec640709e73f5249b5691df06c632a48ed9 /main/php_globals.h | |
| parent | 2f6ded9ac9bb8826eb9b3b79b8cdc018c90aff54 (diff) | |
| download | php-git-35b30a8d0c506c861475fa5ce394900adfb2f0ed.tar.gz | |
Add reentrant versions of ctime, localtime, gmtime, asctime.
These cannot be implemented platform-independent, so we fall back to the native
non-reentrant versions, but lock during each access (only if ZTS is used).
To initialize/destroy the used data structures, you need to call
reentrancy_startup() before sapi_startup(), and reentrancy_shutdown() after
sapi_shutdown().
Diffstat (limited to 'main/php_globals.h')
| -rw-r--r-- | main/php_globals.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/php_globals.h b/main/php_globals.h index fcbdb68cc9..4c530fe928 100644 --- a/main/php_globals.h +++ b/main/php_globals.h @@ -72,6 +72,8 @@ struct _php_core_globals { char *upload_tmp_dir; long upload_max_filesize; + + char *current_dir; char *auto_prepend_file; char *auto_append_file; |
