diff options
| author | Ilia Alshanetsky <iliaa@php.net> | 2005-02-03 22:45:36 +0000 |
|---|---|---|
| committer | Ilia Alshanetsky <iliaa@php.net> | 2005-02-03 22:45:36 +0000 |
| commit | 5879c5cf2197e57d71676dc5d9c2689b85f14d17 (patch) | |
| tree | a3f43e320079d069edee80f95e45dab5f33aa80d | |
| parent | 996b464e302544fc9ec1d778ae81f9e27bba33d1 (diff) | |
| download | php-git-5879c5cf2197e57d71676dc5d9c2689b85f14d17.tar.gz | |
Fixed bug #31796 (readline completion handler does not handle empty return
values).
| -rw-r--r-- | ext/readline/readline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/readline/readline.c b/ext/readline/readline.c index 0af0c42b29..a11646b29a 100644 --- a/ext/readline/readline.c +++ b/ext/readline/readline.c @@ -377,7 +377,7 @@ static char *_readline_command_generator(char *text,int state) } } - return NULL; + return strdup(""); } static zval *_readline_string_zval(const char *str) |
