diff options
author | Andi Gutmans <andi@php.net> | 2000-12-14 23:05:31 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2000-12-14 23:05:31 +0000 |
commit | 11e5f9bd44f711f20d5c85386d859738ae470b80 (patch) | |
tree | a6a5b12d265b29df5e9f0cd455d3d3892be0839c /main/fopen_wrappers.c | |
parent | 3b20a425c955069119a01e37139ed5db4ae63693 (diff) | |
download | php-git-11e5f9bd44f711f20d5c85386d859738ae470b80.tar.gz |
- This is the correct way of doing it
Diffstat (limited to 'main/fopen_wrappers.c')
-rw-r--r-- | main/fopen_wrappers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/fopen_wrappers.c b/main/fopen_wrappers.c index 752cd1ac5d..9f3ce6526c 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 |