cvs: php4(PHP_4_3) /main php_open_temporary_file.c
| From: | Jani Taskinen | Date: | Fri, 25 Apr 2003 18:11:42 +0000 |
| Subject: | cvs: php4(PHP_4_3) /main php_open_temporary_file.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-20500@lists.php.net to get a copy of this message | ||
sniper Fri Apr 25 14:11:42 2003 EDT
Modified files: (Branch: PHP_4_3)
/php4/main php_open_temporary_file.c
Log:
MFH
Index: php4/main/php_open_temporary_file.c
diff -u php4/main/php_open_temporary_file.c:1.18.2.7 php4/main/php_open_temporary_file.c:1.18.2.8
--- php4/main/php_open_temporary_file.c:1.18.2.7 Fri Apr 11 07:10:39 2003
+++ php4/main/php_open_temporary_file.c Fri Apr 25 14:11:42 2003
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_open_temporary_file.c,v 1.18.2.7 2003/04/11 11:10:39 wez Exp $ */
+/* $Id: php_open_temporary_file.c,v 1.18.2.8 2003/04/25 18:11:42 sniper Exp $ */
#include "php.h"
@@ -107,11 +107,13 @@
char *trailing_slash;
char *opened_path;
int fd = -1;
+#ifndef HAVE_MKSTEMP
int open_flags = O_CREAT | O_TRUNC | O_RDWR
#ifdef PHP_WIN32
| _O_BINARY
#endif
;
+#endif
#ifdef NETWARE
char *file_path = NULL;
#endif