hyanantha               Wed Feb 23 05:54:07 2005 EDT

  Modified files:              
    /php-src/main       php_open_temporary_file.c 
  Log:
  NetWare LibC has mkstemp implementation
  
  
http://cvs.php.net/diff.php/php-src/main/php_open_temporary_file.c?r1=1.31&r2=1.32&ty=u
Index: php-src/main/php_open_temporary_file.c
diff -u php-src/main/php_open_temporary_file.c:1.31 
php-src/main/php_open_temporary_file.c:1.32
--- php-src/main/php_open_temporary_file.c:1.31 Thu Oct  7 08:22:16 2004
+++ php-src/main/php_open_temporary_file.c      Wed Feb 23 05:54:06 2005
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: php_open_temporary_file.c,v 1.31 2004/10/07 12:22:16 hyanantha Exp $ */
+/* $Id: php_open_temporary_file.c,v 1.32 2005/02/23 10:54:06 hyanantha Exp $ */
 
 #include "php.h"
 
@@ -106,9 +106,6 @@
 #endif
                ;
 #endif
-#ifdef NETWARE
-    char *file_path = NULL;
-#endif
 
        if (!path) {
                return -1;
@@ -133,12 +130,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

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to