cvs: php4 /main fopen-wrappers.c
| From: | Andi Gutmans | Date: | Fri, 16 Jun 2000 08:02:34 +0000 |
| Subject: | cvs: php4 /main fopen-wrappers.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-307@lists.php.net to get a copy of this message | ||
andi Fri Jun 16 01:02:34 2000 EDT
Modified files:
/php4/main fopen-wrappers.c
Log:
- Make Windows compile
Index: php4/main/fopen-wrappers.c
diff -u php4/main/fopen-wrappers.c:1.68 php4/main/fopen-wrappers.c:1.69
--- php4/main/fopen-wrappers.c:1.68 Thu Jun 15 18:25:02 2000
+++ php4/main/fopen-wrappers.c Fri Jun 16 01:02:33 2000
@@ -16,7 +16,7 @@
| Jim Winstead <jimw@php.net> |
+----------------------------------------------------------------------+
*/
-/* $Id: fopen-wrappers.c,v 1.68 2000/06/16 01:25:02 andi Exp $ */
+/* $Id: fopen-wrappers.c,v 1.69 2000/06/16 08:02:33 andi Exp $ */
#include "php.h"
#include "php_globals.h"
@@ -329,7 +329,7 @@
length = strlen(PG(doc_root));
#ifdef PHP_WIN32
/* Check for absolute path. This should really use virtual cwd macros */
- if (IS_SLASH(*PG(doc_root) || (length >= 3 && PG(doc_root)[1] == ':'
&& IS_SLASH(PG(doc_root)[2]))) {
+ if (IS_SLASH(*PG(doc_root)) || (length >= 3 && PG(doc_root)[1] == ':'
&& IS_SLASH(PG(doc_root)[2]))) {
#else
if (IS_SLASH(*PG(doc_root))) {
#endif