From 1bab18a00c5b057fbc296ddf0abbec1cf17b4620 Mon Sep 17 00:00:00 2001 From: Andi Gutmans Date: Fri, 31 Mar 2000 22:48:59 +0000 Subject: [PATCH] - This shouldn't do any harm and might fix a problem with Win32 --- main/fopen_wrappers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/fopen_wrappers.c b/main/fopen_wrappers.c index 0b99813760..ea6891f8a2 100644 --- a/main/fopen_wrappers.c +++ b/main/fopen_wrappers.c @@ -58,7 +58,7 @@ #endif #ifndef S_ISREG -#define S_ISREG(mode) (((mode)&S_IFMT) == S_IFREG) +#define S_ISREG(mode) (((mode)&S_IFMT) & S_IFREG) #endif #ifdef PHP_WIN32 -- 2.50.1