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

From: Date: Wed, 04 Mar 2015 02:49:55 +0000
Subject: com php-src: Fixed build: ext/dba/dba.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-85187@lists.php.net to get a copy of this message
Commit: c7b7cc4c168cbf196a665745e4faa596225353cf Author: Xinchen Hui <laruence@php.net> Wed, 4 Mar 2015 10:49:55 +0800 Parents: f1de275e746aee1cee966241bce8168b390303cf Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=c7b7cc4c168cbf196a665745e4faa596225353cf Log: Fixed build Changed paths: M ext/dba/dba.c Diff: diff --git a/ext/dba/dba.c b/ext/dba/dba.c index 8491ff6..d45ec96 100644 --- a/ext/dba/dba.c +++ b/ext/dba/dba.c @@ -868,7 +868,7 @@ static void php_dba_open(INTERNAL_FUNCTION_PARAMETERS, int persistent) info->path = pestrndup(opened_path->val, opened_path->len, persistent); } /* now store the name of the lock */ - info->lock.name = pestrdup(opened_path->val, opened_path->len, persistent); + info->lock.name = pestrndup(opened_path->val, opened_path->len, persistent); zend_string_release(opened_path); } }

« previous php.cvs (#85187) next »