misc/60352: [PATCH] buildworld fails in sysinstall if terminfo
database in /usr/share/misc/terminfo
Dan Hulme
d at diefree.com
Thu Dec 18 11:30:25 PST 2003
The following reply was made to PR misc/60352; it has been noted by GNATS.
From: Dan Hulme <d at diefree.com>
To: freebsd-gnats-submit at FreeBSD.org, d at diefree.com
Cc:
Subject: Re: misc/60352: [PATCH] buildworld fails in sysinstall if terminfo
database in /usr/share/misc/terminfo
Date: Thu, 18 Dec 2003 11:27:06 -0800
By way of explanation, this code returns identical output as the
original rtermcap.c, except in the case of an existing terminfo. In
that case, this code returns to correct output (i.e., the same as if
there were no terminfo db), whereas the old code failed silently
(printing nothing).
The choice to strip double colons and tabs was made not by necessity (I
am not certain whether it is important or not, but I imagine the target
program would ignore them), but rather to produce identical output.
This way, there can be no doubt that this code should function as a
drop-in replacement for the old code.
I tested this code and the resulting makedevs.c was identical in size
and content to that created with the original code. Again, the only
difference is when a terminfo db exists, in which case *only* this code
works.
-Dan
More information about the freebsd-bugs
mailing list