summaryrefslogtreecommitdiff
path: root/ext/oci8/oci8.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-08-05 01:43:02 +0000
committerZeev Suraski <zeev@php.net>2001-08-05 01:43:02 +0000
commit1159c84ab7849099d4a717cd05c2d920102040ed (patch)
treeed4e48bb27e2ce5de5972fc3a29c1d24c818467a /ext/oci8/oci8.c
parentfcc035108f7b8d2e169c5a592227b3df84d0573e (diff)
downloadphp-git-1159c84ab7849099d4a717cd05c2d920102040ed.tar.gz
- TSRMLS_FETCH work
- whitespace fixes
Diffstat (limited to 'ext/oci8/oci8.c')
-rw-r--r--ext/oci8/oci8.c4
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;
}