1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-22 16:20:23 +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

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