mirror of
https://github.com/bdnugget/php-src.git
synced 2026-11-07 17:27:30 +00:00
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5: Fixed bug #70002 TS issues with temporary dir handling
This commit is contained in:
1 parent
bbc213d3cf
commit
f14dc0519c
1 file changed
+9
-1
@@ -176,7 +176,15 @@ static int php_do_open_temporary_file(const char *path, const char *pfx, char **
|
||||
/* }}} */
|
||||
|
||||
/* Cache the chosen temporary directory. */
|
||||
static char* temporary_directory;
|
||||
static
|
||||
#ifdef ZTS
|
||||
#ifdef PHP_WIN32
|
||||
__declspec(thread)
|
||||
#elif defined(__GNUC__)
|
||||
__thread
|
||||
#endif
|
||||
#endif
|
||||
char* temporary_directory;
|
||||
|
||||
PHPAPI void php_shutdown_temporary_directory(void)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user