mirror of
https://github.com/php/php-src.git
synced 2024-09-22 18:37:25 +00:00
added a few PLS_FETCH()
This commit is contained in:
parent
4e33a1d677
commit
94ce166244
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user