diff options
-rw-r--r-- | ext/standard/filestat.c | 2 | ||||
-rw-r--r-- | ext/standard/link.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/ext/standard/filestat.c b/ext/standard/filestat.c index 26916c5653..bafee0852e 100644 --- a/ext/standard/filestat.c +++ b/ext/standard/filestat.c @@ -107,6 +107,7 @@ PHP_FUNCTION(chgrp) gid_t gid; struct group *gr=NULL; int ret; + PLS_FETCH(); if (ARG_COUNT(ht)!=2 || getParameters(ht,2,&filename,&group)==FAILURE) { WRONG_PARAM_COUNT; @@ -151,6 +152,7 @@ PHP_FUNCTION(chown) int ret; uid_t uid; struct passwd *pw = NULL; + PLS_FETCH(); if (ARG_COUNT(ht)!=2 || getParameters(ht,2,&filename,&user)==FAILURE) { WRONG_PARAM_COUNT; diff --git a/ext/standard/link.c b/ext/standard/link.c index 978a14fda1..75e9bb297f 100644 --- a/ext/standard/link.c +++ b/ext/standard/link.c @@ -105,6 +105,7 @@ PHP_FUNCTION(symlink) #if HAVE_SYMLINK pval *topath, *frompath; int ret; + PLS_FETCH(); if (ARG_COUNT(ht) != 2 || getParameters(ht, 2, &topath, &frompath) == FAILURE) { WRONG_PARAM_COUNT; @@ -133,6 +134,7 @@ PHP_FUNCTION(link) #if HAVE_LINK pval *topath, *frompath; int ret; + PLS_FETCH(); if (ARG_COUNT(ht) != 2 || getParameters(ht, 2, &topath, &frompath) == FAILURE) { WRONG_PARAM_COUNT; |