]> granicus.if.org Git - php/commitdiff
MFH
authorAntony Dovgal <tony2001@php.net>
Wed, 4 Oct 2006 13:24:19 +0000 (13:24 +0000)
committerAntony Dovgal <tony2001@php.net>
Wed, 4 Oct 2006 13:24:19 +0000 (13:24 +0000)
TSRM/tsrm_virtual_cwd.c
TSRM/tsrm_virtual_cwd.h

index 10dae8d2f03b4dbd5cb893f7a0ab834ba47f14a8..422c993586bb57b3557fc8368808aa3c1076e813 100644 (file)
@@ -1033,7 +1033,7 @@ CWD_API FILE *virtual_popen(const char *command, const char *type TSRMLS_DC)
  * realpath() function.
  */
 #if defined(__osf__) || defined(_AIX)
-char *php_realpath_hack(char *src, char *dest)
+char *php_realpath_hack(const char *src, char *dest)
 {
        char *ret;
 
index 33476e5ce345f8031a5fd578ce81e537c62e9931..c8ec3534f8c9e789f2fa3526393ad8e19b65e19d 100644 (file)
@@ -173,7 +173,7 @@ CWD_API int virtual_access(const char *pathname, int mode TSRMLS_DC);
 #endif
 
 #if defined(__osf__) || defined(_AIX)
-char *php_realpath_hack(char *src, char *dest);
+char *php_realpath_hack(const char *src, char *dest);
 #endif
 
 #if HAVE_UTIME