com php-src: Fixed typo: ext/dba/dba.c

From: Date: Wed, 08 Apr 2015 12:53:28 +0000
Subject: com php-src: Fixed typo: ext/dba/dba.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-86126@lists.php.net to get a copy of this message
Commit: 1955403ed59d161d59191401fb8acf543878df68 Author: Dmitry Stogov <dmitry@zend.com> Wed, 8 Apr 2015 15:53:28 +0300 Parents: cc70a46525f72340061107ced390eba3be1bf12a Branches: PHP-5.5 PHP-5.6 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=1955403ed59d161d59191401fb8acf543878df68 Log: Fixed typo Changed paths: M ext/dba/dba.c Diff: diff --git a/ext/dba/dba.c b/ext/dba/dba.c index dc6db4b..42e4fa1 100644 --- a/ext/dba/dba.c +++ b/ext/dba/dba.c @@ -914,7 +914,7 @@ static void php_dba_open(INTERNAL_FUNCTION_PARAMETERS, int persistent) RETURN_FALSE; #ifdef F_SETFL } else if (modenr == DBA_CREAT) { - int flags = fcntl(info->fd, F_SETFL); + int flags = fcntl(info->fd, F_GETFL); fcntl(info->fd, F_SETFL, flags & ~O_APPEND); #endif }

« previous php.cvs (#86126) next »