summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorAnantha Kesari H Y <hyanantha@php.net>2005-02-23 10:54:06 (GMT)
committerAnantha Kesari H Y <hyanantha@php.net>2005-02-23 10:54:06 (GMT)
commitd25d507bec70a476e69bd526d4f9b6d6ec5f0a0d (patch)
tree4476cca4ba3635052d02e4778f1b16ccea768ff7 /main
parentfc7bbdddbd36bf2fd0b40310f5e12237a19aa008 (diff)
downloadphp-d25d507bec70a476e69bd526d4f9b6d6ec5f0a0d.tar.gz
NetWare LibC has mkstemp implementation
Diffstat (limited to 'main')
-rw-r--r--main/php_open_temporary_file.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/main/php_open_temporary_file.c b/main/php_open_temporary_file.c
index 3c9111c..b64ddc8 100644
--- a/main/php_open_temporary_file.c
+++ b/main/php_open_temporary_file.c
@@ -106,9 +106,6 @@ static int php_do_open_temporary_file(const char *path, const char *pfx, char **
#endif
;
#endif
-#ifdef NETWARE
- char *file_path = NULL;
-#endif
if (!path) {
return -1;
@@ -133,12 +130,6 @@ static int php_do_open_temporary_file(const char *path, const char *pfx, char **
VCWD_CHMOD(opened_path, 0600);
fd = VCWD_OPEN_MODE(opened_path, open_flags, 0600);
}
-#elif defined(NETWARE)
- /* Using standard mktemp() implementation for NetWare */
- file_path = mktemp(opened_path);
- if (file_path) {
- fd = VCWD_OPEN(file_path, open_flags);
- }
#elif defined(HAVE_MKSTEMP)
fd = mkstemp(opened_path);
#else