summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2001-02-21 15:47:23 +0000
committermillert <millert@openbsd.org>2001-02-21 15:47:23 +0000
commitc77008a66fe4e469f7665735aedf90e44e221e44 (patch)
tree5efb25830895151ae73c9876c431c1ed6c324f90
parentchange ai_addrlen to socklen_t. now it conforms to (diff)
downloadwireguard-openbsd-c77008a66fe4e469f7665735aedf90e44e221e44.tar.xz
wireguard-openbsd-c77008a66fe4e469f7665735aedf90e44e221e44.zip
#ifdef out the "older tic versions may treat the description field
as an alias" warning since it hits people with $TERMCAP set when there is no terminfo file present. A better fix would be to make _nc_get_token() take a quiet flag.
-rw-r--r--lib/libcurses/tinfo/comp_scan.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libcurses/tinfo/comp_scan.c b/lib/libcurses/tinfo/comp_scan.c
index 80b4b84cec5..65d9a248a23 100644
--- a/lib/libcurses/tinfo/comp_scan.c
+++ b/lib/libcurses/tinfo/comp_scan.c
@@ -291,8 +291,10 @@ _nc_get_token(void)
if (desc) {
if (*desc == '\0')
_nc_warning("empty longname field");
+#ifndef __OpenBSD__
else if (strchr(desc, ' ') == (char *) NULL)
_nc_warning("older tic versions may treat the description field as an alias");
+#endif
}
if (!desc)
desc = buffer + strlen(buffer);