cvs: php-src(PHP_5_0) /main php_open_temporary_file.c
| From: | Anantha Kesari H Y | Date: | Fri, 11 Mar 2005 08:18:15 +0000 |
| Subject: | cvs: php-src(PHP_5_0) /main php_open_temporary_file.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-30864@lists.php.net to get a copy of this message | ||
hyanantha Fri Mar 11 03:18:15 2005 EDT
Modified files: (Branch: PHP_5_0)
/php-src/main php_open_temporary_file.c
Log:
Netware LibC has mkstemp
http://cvs.php.net/diff.php/php-src/main/php_open_temporary_file.c?r1=1.30&r2=1.30.2.1&ty=u
Index: php-src/main/php_open_temporary_file.c
diff -u php-src/main/php_open_temporary_file.c:1.30 php-src/main/php_open_temporary_file.c:1.30.2.1
--- php-src/main/php_open_temporary_file.c:1.30 Mon Mar 29 16:44:07 2004
+++ php-src/main/php_open_temporary_file.c Fri Mar 11 03:18:14 2005
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_open_temporary_file.c,v 1.30 2004/03/29 21:44:07 wez Exp $ */
+/* $Id: php_open_temporary_file.c,v 1.30.2.1 2005/03/11 08:18:14 hyanantha Exp $ */
#include "php.h"
@@ -139,12 +139,6 @@
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