cvs: php4 /main fopen-wrappers.c
| From: | Andi Gutmans | Date: | Sun, 01 Oct 2000 18:13:42 +0000 |
| Subject: | cvs: php4 /main fopen-wrappers.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-1901@lists.php.net to get a copy of this message | ||
andi Sun Oct 1 11:13:42 2000 EDT
Modified files:
/php4/main fopen-wrappers.c
Log:
- Remove unneeded IS_SLASH() definition.
Index: php4/main/fopen-wrappers.c
diff -u php4/main/fopen-wrappers.c:1.92 php4/main/fopen-wrappers.c:1.93
--- php4/main/fopen-wrappers.c:1.92 Sat Sep 16 22:52:26 2000
+++ php4/main/fopen-wrappers.c Sun Oct 1 11:13:41 2000
@@ -16,7 +16,7 @@
| Jim Winstead <jimw@php.net> |
+----------------------------------------------------------------------+
*/
-/* $Id: fopen-wrappers.c,v 1.92 2000/09/17 05:52:26 andi Exp $ */
+/* $Id: fopen-wrappers.c,v 1.93 2000/10/01 18:13:41 andi Exp $ */
#include "php.h"
#include "php_globals.h"
@@ -76,15 +76,6 @@
#if defined(AF_UNIX)
#include <sys/un.h>
#endif
-
-/* The following macros are borrowed from virtual_cwd.c and should be put in
- * a joint header file when we move virtual_cwd to TSRM */
-#ifdef ZEND_WIN32
-#define IS_SLASH(c) ((c) == '/' || (c) == '\\')
-#else
-#define IS_SLASH(c) ((c) == '/')
-#endif
-
typedef FILE * (*php_fopen_url_wrapper_t) (const char *, char *, int, int *, int *, char **) ;