From f4f8726b9e908400ac8413e08b8dceba62587a7f Mon Sep 17 00:00:00 2001 From: Yasuo Ohgaki Date: Wed, 17 Jul 2002 05:15:17 +0000 Subject: [PATCH] Accoding to safe_mode.h, php_checkuid() has six modes. --- main/safe_mode.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main/safe_mode.c b/main/safe_mode.c index 6f42c62f19..9dd394b513 100644 --- a/main/safe_mode.c +++ b/main/safe_mode.c @@ -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) -- 2.40.0