Reapply r255891

This commit is contained in:
Baptiste Daroussin 2015-02-08 22:24:18 +00:00
parent f4c6aea395
commit 6062b7ccd9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=278414

View File

@ -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();