1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-26 18:01:03 +02:00

19076: don't call setupterm with NULL as last argument as that causes

the shell to exit when the terminal is unknown.
This commit is contained in:
Clint Adams 2003-09-14 05:10:05 +00:00
parent 6e09c17757
commit cd89b92a0d
2 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2003-09-14 Clint Adams <clint@zsh.org>
* 19076: Src/Modules/terminfo.c: don't call setupterm
with NULL as last argument as that causes the shell to
exit when the terminal is unknown.
2003-09-11 Oliver Kiddle <opk@zsh.org>
* 19059: acconfig.h, zshconfig.ac, Src/builtin.c, Src/exec.c,

View file

@ -376,7 +376,10 @@ boot_(Module m)
{
#ifdef HAVE_TIGETSTR
# ifdef HAVE_SETUPTERM
setupterm((char *)0, 1, (int *)0);
int errret;
if (setupterm((char *)0, 1, &errret) == ERR)
return 1;
# endif
if (!createtihash())