]> granicus.if.org Git - php/commitdiff
revert workaround for bug #74489 as it's fixed in the dependency lib
authorAnatol Belski <ab@php.net>
Sat, 13 May 2017 23:47:40 +0000 (01:47 +0200)
committerAnatol Belski <ab@php.net>
Sat, 13 May 2017 23:47:40 +0000 (01:47 +0200)
ext/readline/readline.c

index 564d5c053908b468eab793e812ce0e444f904ebc..53a4c9e9abf182dde70b2489b72ba563298f15df 100644 (file)
@@ -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;