diff options
Diffstat (limited to 'ext/oci8/oci8.c')
| -rw-r--r-- | ext/oci8/oci8.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c index 5e6241cca8..8090f5f578 100644 --- a/ext/oci8/oci8.c +++ b/ext/oci8/oci8.c @@ -2690,7 +2690,7 @@ PHP_FUNCTION(ocisavelobfile) filename = (*arg)->value.str.val; - if ((fp = open(filename, O_RDONLY)) == -1) { + if ((fp = V_OPEN((filename, O_RDONLY))) == -1) { php_error(E_WARNING, "Can't open file %s", filename); RETURN_FALSE; } @@ -2812,7 +2812,7 @@ PHP_FUNCTION(ociwritelobtofile) goto bail; } - if ((fp = open(filename,O_CREAT|O_TRUNC|O_WRONLY)) == -1) { + if ((fp = V_OPEN((filename,O_CREAT|O_TRUNC|O_WRONLY))) == -1) { php_error(E_WARNING, "Can't create file %s", filename); goto bail; } |
