cvs: php-src /win32 wfile.c wfile.h
| From: | Kalle Sommer Nielsen | Date: | Sun, 20 Jul 2008 20:18:28 +0000 |
| Subject: | cvs: php-src /win32 wfile.c wfile.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-51286@lists.php.net to get a copy of this message | ||
kalle Sun Jul 20 20:18:28 2008 UTC
Modified files:
/php-src/win32 wfile.c wfile.h
Log:
MFB
http://cvs.php.net/viewvc.cgi/php-src/win32/wfile.c?r1=1.1.1.1&r2=1.2&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.2
--- 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:18:28 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.2&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.2
--- 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:18:28 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