]> granicus.if.org Git - php/commitdiff
- Fix #52908, fix declaration
authorPierre Joye <pajoye@php.net>
Wed, 22 Sep 2010 21:28:37 +0000 (21:28 +0000)
committerPierre Joye <pajoye@php.net>
Wed, 22 Sep 2010 21:28:37 +0000 (21:28 +0000)
TSRM/tsrm_virtual_cwd.h

index 2949f2715964adec983875ad23c4b6ec466e7469..d75e2394a9fc17154cd98573b2e9240885da52e9 100644 (file)
@@ -133,7 +133,7 @@ typedef unsigned short mode_t;
 CWD_API int php_sys_stat_ex(const char *path, struct stat *buf, int lstat);
 # define php_sys_stat(path, buf) php_sys_stat_ex(path, buf, 0)
 # define php_sys_lstat(path, buf) php_sys_stat_ex(path, buf, 1)
-CWD_API int php_sys_readlink(link, target, target_len);
+CWD_API int php_sys_readlink(const char *link, char *target, size_t target_len);
 #else
 # define php_sys_stat stat
 # define php_sys_lstat lstat