1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-17 22:31:12 +01:00

Fixes for 13922.

This commit is contained in:
Bart Schaefer 2001-04-09 17:26:57 +00:00
parent 5d0231e105
commit a3a59f1f37
4 changed files with 11 additions and 12 deletions

View file

@ -1,5 +1,12 @@
2001-04-09 Bart Schaefer <schaefer@zsh.org>
* unposted: Src/modules/terminfo.c: Unset the terminfo parameter
on autoload when terminfo is not available, to suppress a warning
about autoload failure.
* 13931: Src/Modules/termcap.mdd, Src/Modules/terminfo.mdd: Fix
`load' directives broken by 13922.
* 13922: Src/Modules/termcap.c, Src/Modules/termcap.mdd,
Src/Modules/terminfo.c, Src/Modules/terminfo.mdd: Loading these
modules should work even if the corresponding library is not

View file

@ -10,12 +10,7 @@ link='if test "x$ac_cv_func_tgetent" = xyes; then
echo either;
fi
'
load='if test "x$ac_cv_func_tgetent" = xyes; then
echo yes;
else
echo no;
fi
'
load=yes
autobins="echotc"

View file

@ -215,6 +215,8 @@ boot_(Module m)
if (!createtihash())
return 1;
#else
unsetparam(terminfo_nam);
#endif
return !addbuiltins(m->nam, bintab, sizeof(bintab)/sizeof(*bintab));
}

View file

@ -10,12 +10,7 @@ link='if test "x$ac_cv_func_tigetstr" = xyes; then
echo either;
fi
'
load='if test "x$ac_cv_func_tigetstr" = xyes; then
echo yes;
else
echo no;
fi
'
load=yes
autobins="echoti"
autoparams="terminfo"