summaryrefslogtreecommitdiff
path: root/ext/standard/link.c
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2010-09-13 09:30:07 +0000
committerPierre Joye <pajoye@php.net>2010-09-13 09:30:07 +0000
commitd5ca12b03ec192e2a9155c8b5c50da375f9058cf (patch)
tree898c9496cdc8b2048be30104470459d87016eed4 /ext/standard/link.c
parentba5b4afc3268ebd134c02a6895d6649c637151ba (diff)
downloadphp-git-d5ca12b03ec192e2a9155c8b5c50da375f9058cf.tar.gz
- use php_sys_readlink
Diffstat (limited to 'ext/standard/link.c')
-rw-r--r--ext/standard/link.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/link.c b/ext/standard/link.c
index 7029a20d02..65e7d2fe06 100644
--- a/ext/standard/link.c
+++ b/ext/standard/link.c
@@ -67,7 +67,7 @@ PHP_FUNCTION(readlink)
RETURN_FALSE;
}
- ret = readlink(link, buff, MAXPATHLEN-1);
+ ret = php_sys_readlink(link, buff, MAXPATHLEN-1);
if (ret == -1) {
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", strerror(errno));