diff options
author | 2001-02-21 15:47:23 +0000 | |
---|---|---|
committer | 2001-02-21 15:47:23 +0000 | |
commit | c77008a66fe4e469f7665735aedf90e44e221e44 (patch) | |
tree | 5efb25830895151ae73c9876c431c1ed6c324f90 /lib/libcurses/tinfo/comp_scan.c | |
parent | change ai_addrlen to socklen_t. now it conforms to (diff) | |
download | wireguard-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.
Diffstat (limited to 'lib/libcurses/tinfo/comp_scan.c')
-rw-r--r-- | lib/libcurses/tinfo/comp_scan.c | 2 |
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); |