From: Antony Dovgal Date: Wed, 4 Oct 2006 13:24:19 +0000 (+0000) Subject: MFH X-Git-Tag: php-5.2.0RC5~17 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bb5986b8a34356862382c56265ed189c38f7f9ec;p=php MFH --- diff --git a/TSRM/tsrm_virtual_cwd.c b/TSRM/tsrm_virtual_cwd.c index 10dae8d2f0..422c993586 100644 --- a/TSRM/tsrm_virtual_cwd.c +++ b/TSRM/tsrm_virtual_cwd.c @@ -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; diff --git a/TSRM/tsrm_virtual_cwd.h b/TSRM/tsrm_virtual_cwd.h index 33476e5ce3..c8ec3534f8 100644 --- a/TSRM/tsrm_virtual_cwd.h +++ b/TSRM/tsrm_virtual_cwd.h @@ -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