mirror of
https://github.com/php/php-src.git
synced 2024-09-22 18:37:25 +00:00
Fixed bug #31796 (readline completion handler does not handle empty return
values).
This commit is contained in:
parent
996b464e30
commit
5879c5cf21
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user