diff options
| author | Zeev Suraski <zeev@php.net> | 2001-08-05 01:43:02 +0000 |
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 2001-08-05 01:43:02 +0000 |
| commit | 1159c84ab7849099d4a717cd05c2d920102040ed (patch) | |
| tree | ed4e48bb27e2ce5de5972fc3a29c1d24c818467a /ext/oci8/oci8.c | |
| parent | fcc035108f7b8d2e169c5a592227b3df84d0573e (diff) | |
| download | php-git-1159c84ab7849099d4a717cd05c2d920102040ed.tar.gz | |
- TSRMLS_FETCH work
- whitespace fixes
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 ca915adf18..3c17478de0 100644 --- a/ext/oci8/oci8.c +++ b/ext/oci8/oci8.c @@ -2936,7 +2936,7 @@ PHP_FUNCTION(ocisavelobfile) filename = (*arg)->value.str.val; - if ((fp = VCWD_OPEN((filename, O_RDONLY|O_BINARY))) == -1) { + if ((fp = VCWD_OPEN(filename, O_RDONLY|O_BINARY)) == -1) { php_error(E_WARNING, "Can't open file %s", filename); RETURN_FALSE; } @@ -3054,7 +3054,7 @@ PHP_FUNCTION(ociwritelobtofile) goto bail; } - if ((fp = VCWD_OPEN((filename,O_CREAT | O_RDWR | O_BINARY | O_TRUNC, 0600))) == -1) { + if ((fp = VCWD_OPEN_MODE(filename,O_CREAT | O_RDWR | O_BINARY | O_TRUNC, 0600)) == -1) { php_error(E_WARNING, "Can't create file %s", filename); goto bail; } |
