diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2001-02-21 15:47:24 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2001-02-21 15:47:24 +0000 |
commit | 81e2483802b2414cb711b9ce30adf852ea76e70f (patch) | |
tree | 87109e62e19aa45f77d13b517f0c9f9402f1e8b1 /lib/libcurses/tinfo | |
parent | 9bc8346a1883e7d362fa3ae9afacbbf2861c8f7e (diff) |
#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')
-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); |