cvs: php4 /main safe_mode.c
| From: | Yasuo Ohgaki | Date: | Wed, 17 Jul 2002 05:15:17 +0000 |
| Subject: | cvs: php4 /main safe_mode.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-12863@lists.php.net to get a copy of this message | ||
yohgaki Wed Jul 17 01:15:17 2002 EDT
Modified files:
/php4/main safe_mode.c
Log:
Accoding to safe_mode.h, php_checkuid() has six modes.
Index: php4/main/safe_mode.c
diff -u php4/main/safe_mode.c:1.45 php4/main/safe_mode.c:1.46
--- php4/main/safe_mode.c:1.45 Fri Jul 12 20:52:18 2002
+++ php4/main/safe_mode.c Wed Jul 17 01:15:17 2002
@@ -15,7 +15,7 @@
| Author: Rasmus Lerdorf <rasmus@lerdorf.on.ca> |
+----------------------------------------------------------------------+
*/
-/* $Id: safe_mode.c,v 1.45 2002/07/13 00:52:18 sniper Exp $ */
+/* $Id: safe_mode.c,v 1.46 2002/07/17 05:15:17 yohgaki Exp $ */
#include "php.h"
@@ -35,12 +35,14 @@
/*
* php_checkuid
*
- * This function has four modes:
+ * This function has six modes:
*
* 0 - return invalid (0) if file does not exist
* 1 - return valid (1) if file does not exist
* 2 - if file does not exist, check directory
* 3 - only check directory (needed for mkdir)
+ * 4 - check mode and param
+ * 5 - only check file
*/
PHPAPI int php_checkuid(const char *filename, char *fopen_mode, int mode)