]> granicus.if.org Git - php/commitdiff
- Fix #52908, fix declaration
authorPierre Joye <pajoye@php.net>
Mon, 4 Oct 2010 10:35:32 +0000 (10:35 +0000)
committerPierre Joye <pajoye@php.net>
Mon, 4 Oct 2010 10:35:32 +0000 (10:35 +0000)
TSRM/tsrm_virtual_cwd.h

index 7f743c88f11318471666742317419761ddc3b4f8..caa804449b8402806a6a2ef98527649562f87d85 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