commit bash-20190430 snapshot

This commit is contained in:
Chet Ramey
2019-05-13 10:04:20 -04:00
parent 42a9b8a197
commit 729acaff19
10 changed files with 80 additions and 23 deletions
+4
View File
@@ -483,7 +483,11 @@ _rl_init_terminal_io (const char *terminal_name)
tgetent_ret = tgetent (term_buffer, term);
}
#ifdef TGETENT_BROKEN
if (tgetent_ret < 0)
#else
if (tgetent_ret <= 0)
#endif
{
FREE (term_string_buffer);
FREE (term_buffer);