1 Commits
0.2.7 ... 0.2.8

Author SHA1 Message Date
michael
f80a041dac Fixed bug #16836 (introduce expect.match_max .ini parameter for asterisk match buffer size)
git-svn-id: https://svn.php.net/repository/pecl/expect/trunk@307293 c90b9560-bf6c-de11-be94-00142212c4b1
2011-01-09 08:10:44 +00:00
2 changed files with 16 additions and 5 deletions

View File

@@ -91,6 +91,16 @@ static PHP_INI_MH(OnSetExpectTimeout)
}
/* }}} */
/* {{{ PHP_INI_MH
* */
static PHP_INI_MH(OnSetExpectMatchMax)
{
if (new_value) {
exp_match_max = atoi(new_value);
}
}
/* }}} */
/* {{{ PHP_INI_MH
* */
@@ -140,6 +150,7 @@ PHP_INI_BEGIN()
PHP_INI_ENTRY("expect.timeout", "10", PHP_INI_ALL, OnSetExpectTimeout)
PHP_INI_ENTRY_EX("expect.loguser", "1", PHP_INI_ALL, OnSetExpectLogUser, php_ini_boolean_displayer_cb)
PHP_INI_ENTRY("expect.logfile", "", PHP_INI_ALL, OnSetExpectLogFile)
PHP_INI_ENTRY("expect.match_max", "", PHP_INI_ALL, OnSetExpectMatchMax)
PHP_INI_END()

View File

@@ -14,11 +14,11 @@ http://pear.php.net/dtd/package-2.0.xsd">
<email>michael@php.net</email>
<active>yes</active>
</lead>
<date>2010-10-10</date>
<time>09:28:00</time>
<date>2011-01-09</date>
<time>08:31:00</time>
<version>
<release>0.2.7</release>
<api>0.2.7</api>
<release>0.2.8</release>
<api>0.2.8</api>
</version>
<stability>
<release>beta</release>
@@ -26,7 +26,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
</stability>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
Fixed bug #18998 (Change expect.logfile on runtime leave file descriptor opened)
Fixed bug #16836 (introduce expect.match_max .ini parameter for asterisk match buffer size)
</notes>
<contents>
<dir name="/">