diff options
author | Zeev Suraski <zeev@php.net> | 2000-06-25 17:02:59 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2000-06-25 17:02:59 +0000 |
commit | 6614e8edb43e8f38394bf25cf26399fab1cbf6b2 (patch) | |
tree | 522028c934a1656eaab4d07103a93e01e63cf734 /ext/filepro | |
parent | ba69d9958d23a12e3b962a81ab773d4bb1cc6813 (diff) | |
download | php-git-6614e8edb43e8f38394bf25cf26399fab1cbf6b2.tar.gz |
- I wrote a long msg but the commit didn't go through.
- So here is the short version:
- a) Start moving to binary opens in Windows
- b) Give checkuid_mode() a small face lift including the fopen-wrappers.c
- The mode to this function should at least be a #define but that is for
- another day. Anyway this whole stuff should be given more face lifts in
- the future.
Diffstat (limited to 'ext/filepro')
-rw-r--r-- | ext/filepro/filepro.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/filepro/filepro.c b/ext/filepro/filepro.c index 9a7436b6da..4d0a943f0d 100644 --- a/ext/filepro/filepro.c +++ b/ext/filepro/filepro.c @@ -203,7 +203,7 @@ PHP_FUNCTION(filepro) sprintf(workbuf, "%s/map", dir->value.str.val); - if (PG(safe_mode) && (!php_checkuid(workbuf, 2))) { + if (PG(safe_mode) && (!php_checkuid(workbuf, NULL, 2))) { RETURN_FALSE; } @@ -302,7 +302,7 @@ PHP_FUNCTION(filepro_rowcount) /* Now read the records in, moving forward recsize-1 bytes each time */ sprintf(workbuf, "%s/key", FP_GLOBAL(fp_database)); - if (PG(safe_mode) && (!php_checkuid(workbuf, 2))) { + if (PG(safe_mode) && (!php_checkuid(workbuf, NULL, 2))) { RETURN_FALSE; } @@ -527,7 +527,7 @@ PHP_FUNCTION(filepro_retrieve) /* Now read the record in */ sprintf(workbuf, "%s/key", FP_GLOBAL(fp_database)); - if (PG(safe_mode) && (!php_checkuid(workbuf, 2))) { + if (PG(safe_mode) && (!php_checkuid(workbuf, NULL, 2))) { RETURN_FALSE; } |