cvs: php-src(PHP_5_3) /win32 wfile.c wfile.h

From: Date: Sun, 20 Jul 2008 20:17:48 +0000
Subject: cvs: php-src(PHP_5_3) /win32 wfile.c wfile.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-51285@lists.php.net to get a copy of this message
kalle Sun Jul 20 20:17:48 2008 UTC Modified files: (Branch: PHP_5_3) /php-src/win32 wfile.c wfile.h Log: Fix macro redef http://cvs.php.net/viewvc.cgi/php-src/win32/wfile.c?r1=1.1.1.1&r2=1.1.1.1.38.1&diff_format=u Index: php-src/win32/wfile.c diff -u php-src/win32/wfile.c:1.1.1.1 php-src/win32/wfile.c:1.1.1.1.38.1 --- php-src/win32/wfile.c:1.1.1.1 Wed Apr 7 21:05:12 1999 +++ php-src/win32/wfile.c Sun Jul 20 20:17:48 2008 @@ -6,7 +6,7 @@ int readlink(char *file_Name, char *buf_Mem, int buf_Size) { /* See if the file exists */ - if (access(file_Name, X_OK) == -1) { + if (access(file_Name, WFILE_EXISTS) == -1) { errno = ENOENT; } else { errno = EINVAL; http://cvs.php.net/viewvc.cgi/php-src/win32/wfile.h?r1=1.1.1.1&r2=1.1.1.1.38.1&diff_format=u Index: php-src/win32/wfile.h diff -u php-src/win32/wfile.h:1.1.1.1 php-src/win32/wfile.h:1.1.1.1.38.1 --- php-src/win32/wfile.h:1.1.1.1 Wed Apr 7 21:05:12 1999 +++ php-src/win32/wfile.h Sun Jul 20 20:17:48 2008 @@ -4,7 +4,7 @@ #include <errno.h> #define access _access -#define X_OK 0 +#define WFILE_EXISTS 0 #ifndef ENOENT #define ENOENT 136 #endif

« previous php.cvs (#51285) next »