summaryrefslogtreecommitdiff
path: root/main/php_open_temporary_file.h
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2004-03-29 21:44:07 +0000
committerWez Furlong <wez@php.net>2004-03-29 21:44:07 +0000
commit32be6f268b59eed7ec5f1bcfd0a88e112a50dd85 (patch)
treed0563b087c985c809a33a89b2e695d7c24643578 /main/php_open_temporary_file.h
parent904dac52e2f1445899598d727c7fb511defb9d10 (diff)
downloadphp-git-32be6f268b59eed7ec5f1bcfd0a88e112a50dd85.tar.gz
Fix for Bug #26757: session.save_path defaults to bogus value on win32
Merge from branch with one main difference: the default save_path is set to the empty string on all platforms, whereas the code in the branch only does so for win32.
Diffstat (limited to 'main/php_open_temporary_file.h')
-rw-r--r--main/php_open_temporary_file.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/php_open_temporary_file.h b/main/php_open_temporary_file.h
index db1c5f8493..500d2429c3 100644
--- a/main/php_open_temporary_file.h
+++ b/main/php_open_temporary_file.h
@@ -24,6 +24,7 @@
BEGIN_EXTERN_C()
PHPAPI FILE *php_open_temporary_file(const char *dir, const char *pfx, char **opened_path_p TSRMLS_DC);
PHPAPI int php_open_temporary_fd(const char *dir, const char *pfx, char **opened_path_p TSRMLS_DC);
+PHPAPI const char *php_get_temporary_directory(void);
END_EXTERN_C()
#endif /* PHP_OPEN_TEMPORARY_FILE_H */