mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 04:43:53 +00:00
Reapply r255891
This commit is contained in:
parent
f4c6aea395
commit
6062b7ccd9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=278414
|
@ -395,6 +395,9 @@ readline(const char *p)
|
|||
char *buf;
|
||||
static int used_event_hook;
|
||||
|
||||
if (line == NULL)
|
||||
return 0;
|
||||
|
||||
if (e == NULL || h == NULL)
|
||||
rl_initialize();
|
||||
|
||||
|
|
Loading…
Reference in a new issue