Skip to content

Commit

Permalink
Netware LibC has mkstemp
Browse files Browse the repository at this point in the history
  • Loading branch information
Anantha Kesari H Y committed Mar 11, 2005
1 parent 553245e commit 250543a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions main/php_open_temporary_file.c
Expand Up @@ -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
Expand Down

0 comments on commit 250543a

Please sign in to comment.