com php-src: revert workaround for bug #74489 as it's fixed in the dependency lib: ext/readline/readline.c
| From: | Anatol Belski | Date: | Sat, 13 May 2017 23:47:40 +0000 |
| Subject: | com php-src: revert workaround for bug #74489 as it's fixed in the dependency lib: ext/readline/readline.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-97810@lists.php.net to get a copy of this message | ||
Commit: cfe577fb864cd18abed2c9b461a83dc5c8735ee2
Author: Anatol Belski <ab@php.net> Sun, 14 May 2017 01:47:40 +0200
Parents: 90bd4be3f9362f766ef5f1998acad0029fde3275
Branches: PHP-7.1 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=cfe577fb864cd18abed2c9b461a83dc5c8735ee2
Log:
revert workaround for bug #74489 as it's fixed in the dependency lib
Bugs:
https://bugs.php.net/74489
Changed paths:
M ext/readline/readline.c
Diff:
diff --git a/ext/readline/readline.c b/ext/readline/readline.c
index 564d5c0..53a4c9e 100644
--- a/ext/readline/readline.c
+++ b/ext/readline/readline.c
@@ -214,7 +214,7 @@ PHP_MINFO_FUNCTION(readline)
Reads a line */
PHP_FUNCTION(readline)
{
- char *prompt = "";
+ char *prompt = NULL;
size_t prompt_len;
char *result;