| Summary: | [patch] buildworld fails in sysinstall if terminfo database in /usr/share/misc/terminfo | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | Daniel Hulme <d> | ||||
| Component: | misc | Assignee: | Antoine Brodin <antoine> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | CC: | d | ||||
| Priority: | Normal | ||||||
| Version: | Unspecified | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
|
Description
Daniel Hulme
2003-12-18 03:00:34 UTC
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 State Changed From-To: open->closed Close: this problem has been solved in revision 1.133 of src/usr.sbin/sysinstall/Makefile (december 2004) by using the TERMCAP environment variable. Responsible Changed From-To: freebsd-bugs->antoine Track. |