com php-src: revert workaround for bug #74489 as it's fixed in the dependency lib: ext/readline/readline.c

[email protected] (Anatol Belski)
Newsgroups php.cvs
Message-ID <[email protected]>
Commit:    cfe577fb864cd18abed2c9b461a83dc5c8735ee2
Author:    Anatol Belski <[email protected]>         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;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.