From: Anantha Kesari H Y Date: Fri, 11 Mar 2005 08:18:14 +0000 (+0000) Subject: Netware LibC has mkstemp X-Git-Tag: php-5.0.4RC1~23 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=250543afc9ca9cc14c0228871b92e08d5a19b292;p=php Netware LibC has mkstemp --- diff --git a/main/php_open_temporary_file.c b/main/php_open_temporary_file.c index b8c94528cd..d3eeb18a55 100644 --- a/main/php_open_temporary_file.c +++ b/main/php_open_temporary_file.c @@ -139,12 +139,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