From:             dimitri at vinogradov dot de
Operating system: irrelevant
PHP version:      Irrelevant
PHP Bug Type:     Feature/Change Request
Bug description:  DB::sqlite request for adding error control operator for function 
calls

Description:
------------
File: DB/sqlite.php
Method: sqlite::connect
Linno: 157, 160


the failed calls of `touch` and `chmod` print warnings to browser instead
of raisung an PEAR error.


Suggest:  
change (lineno 157)
       touch($file);
to
       if ([EMAIL PROTECTED]($file)) {
           return $this->raiseError($php_errormsg);
       }
and    (lineno 160)
       chmod($file, $mode);  
to
       if ([EMAIL PROTECTED]($file, $mode)) {
           return $this->raiseError($php_errormsg);
       }


-- 
Edit bug report at http://bugs.php.net/?id=26398&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=26398&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=26398&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=26398&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=26398&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=26398&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=26398&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=26398&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=26398&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=26398&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=26398&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=26398&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26398&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=26398&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=26398&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=26398&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26398&r=float

Reply via email to