realpath function
| From: | Frank M. Kromann | Date: | Sat, 19 Aug 2000 19:08:04 +0000 |
| Subject: | realpath function | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-29701@lists.php.net to get a copy of this message | ||
Hi All,
In order to compile php4dll.dll and php4dllts.dll
I have made the folowing changes:
===================================================================
RCS file: /repository/php4/main/php.h,v
retrieving revision 1.111
diff -r1.111 php.h
336c336
< #define V_REALPATH(path,real_path) realpath(path,real_path)
---
> #define V_REALPATH(path,real_path) php_realpath(path,real_path)
===================================================================
RCS file: /repository/php4/main/php_virtual_cwd.h,v
retrieving revision 1.32
diff -r1.32 php_virtual_cwd.h
47,50c47,48
< #if HAVE_UTIME
< # ifdef PHP_WIN32
< # include <sys/utime.h>
< # endif
---
> #ifdef PHP_WIN32
> # include <sys/utime.h>
Index: php_virtual_cwd.c
===================================================================
RCS file: /repository/php4/main/php_virtual_cwd.c,v
retrieving revision 1.66
diff -r1.66 php_virtual_cwd.c
504c504
< ret = utime(new_state.cwd, buf);
---
> ret = V_UTIME(new_state.cwd, buf);
I'm note sure if this will have an unwanted side effect. If not I'll commit the changes.
- Frank