cvs: php4 /main fopen-wrappers.c

From: Date: Thu, 14 Dec 2000 23:05:31 +0000
Subject: cvs: php4 /main fopen-wrappers.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-3168@lists.php.net to get a copy of this message
andi Thu Dec 14 15:05:31 2000 EDT Modified files: /php4/main fopen-wrappers.c Log: - This is the correct way of doing it Index: php4/main/fopen-wrappers.c diff -u php4/main/fopen-wrappers.c:1.107 php4/main/fopen-wrappers.c:1.108 --- php4/main/fopen-wrappers.c:1.107 Sat Nov 11 02:15:59 2000 +++ php4/main/fopen-wrappers.c Thu Dec 14 15:05:31 2000 @@ -16,7 +16,7 @@ | Jim Winstead <jimw@php.net> | +----------------------------------------------------------------------+ */ -/* $Id: fopen-wrappers.c,v 1.107 2000/11/11 10:15:59 hholzgra Exp $ */ +/* $Id: fopen-wrappers.c,v 1.108 2000/12/14 23:05:31 andi Exp $ */ #include "php.h" #include "php_globals.h" @@ -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

« previous php.cvs (#3168) next »