cvs: /php4/ext/standard filestat.c link.c
| From: | Thies C . Arntzen | Date: | Sun, 15 Aug 1999 18:52:10 +0000 |
| Subject: | cvs: /php4/ext/standard filestat.c link.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-3438@lists.php.net to get a copy of this message | ||
thies Sun Aug 15 14:52:10 1999 EDT
Modified files:
/php4/ext/standard filestat.c link.c
Log:
added a few PLS_FETCH()
Index: php4/ext/standard/filestat.c
diff -u php4/ext/standard/filestat.c:1.11 php4/ext/standard/filestat.c:1.12
--- php4/ext/standard/filestat.c:1.11 Fri Aug 13 16:28:27 1999
+++ php4/ext/standard/filestat.c Sun Aug 15 14:52:10 1999
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: filestat.c,v 1.11 1999/08/13 20:28:27 andrey Exp $ */
+/* $Id: filestat.c,v 1.12 1999/08/15 18:52:10 thies Exp $ */
#include "php.h"
#include "safe_mode.h"
@@ -107,6 +107,7 @@
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 @@
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: php4/ext/standard/link.c
diff -u php4/ext/standard/link.c:1.8 php4/ext/standard/link.c:1.9
--- php4/ext/standard/link.c:1.8 Mon Aug 2 15:16:50 1999
+++ php4/ext/standard/link.c Sun Aug 15 14:52:10 1999
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: link.c,v 1.8 1999/08/02 19:16:50 zeev Exp $ */
+/* $Id: link.c,v 1.9 1999/08/15 18:52:10 thies Exp $ */
#include "php.h"
#include "php3_filestat.h"
@@ -105,6 +105,7 @@
#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 @@
#if HAVE_LINK
pval *topath, *frompath;
int ret;
+ PLS_FETCH();
if (ARG_COUNT(ht) != 2 || getParameters(ht, 2, &topath, &frompath) == FAILURE) {
WRONG_PARAM_COUNT;