Patch 53630.diff for Readline related Bug #53630
Patch version 2010-12-30 05:53 UTC
Return to Bug #53630 |
Download this patch
Patch Revisions:
Developer: dave.tajchreber@gmail.com
Index: ext/readline/readline.c
===================================================================
--- ext/readline/readline.c (revision 306840)
+++ ext/readline/readline.c (working copy)
@@ -196,7 +196,7 @@
int prompt_len;
char *result;
- if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s!", &prompt, &prompt_len)) {
+ if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &prompt, &prompt_len)) {
RETURN_FALSE;
}
|