]> granicus.if.org Git - php/commitdiff
added a few PLS_FETCH()
authorThies C. Arntzen <thies@php.net>
Sun, 15 Aug 1999 18:52:10 +0000 (18:52 +0000)
committerThies C. Arntzen <thies@php.net>
Sun, 15 Aug 1999 18:52:10 +0000 (18:52 +0000)
ext/standard/filestat.c
ext/standard/link.c

index 26916c56537244799be98854aef11190bd2f5218..bafee0852efce100eca4c29edf0cae179f784709 100644 (file)
@@ -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;
index 978a14fda11f65d04cf32ca18e1c994326c2a863..75e9bb297fdf6aa81948ac1a4d9d9e2015eddd01 100644 (file)
@@ -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;