Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Dec 2003 11:30:24 -0800 (PST)
From:      Dan Hulme <d@diefree.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/60352: [PATCH] buildworld fails in sysinstall if terminfo database in /usr/share/misc/terminfo
Message-ID:  <200312181930.hBIJUOwW062109@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/60352; it has been noted by GNATS.

From: Dan Hulme <d@diefree.com>
To: freebsd-gnats-submit@FreeBSD.org, d@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312181930.hBIJUOwW062109>