From: Antony Dovgal Date: Wed, 4 Oct 2006 13:24:06 +0000 (+0000) Subject: minor AIX fix X-Git-Tag: RELEASE_1_0_0RC1~1424 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=49472b31d2a0c4db1fc3a67cc4de5e90328dfe9a;p=php minor AIX fix --- 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 3f4afc1275..f51677e8dc 100644 --- a/TSRM/tsrm_virtual_cwd.h +++ b/TSRM/tsrm_virtual_cwd.h @@ -190,7 +190,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