mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-26 05:51:08 +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:
parent
6e09c17757
commit
cd89b92a0d
2 changed files with 10 additions and 1 deletions
|
@ -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,
|
||||
|
|
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue