nroff, ptx, spell bugs
Skip Egdorf
hwe at lanl.ARPA
Sat Oct 11 11:52:49 AEST 1986
I just finished rebuilding a 2.9 BSD CSS system from scratch
and found a few things missing that don't show up when upgrading
a Berkeley 2.9 system.
1. /usr/bin/spell is a shell script that is missing.
The spell.c in .../src/usr.bin/spell is for /usr/lib/spell.
I borrowed a 4.2 version...
2. ptx has /bin/sort wired in, while sort is now in /usr/bin.
the code after the 'fork' uses a switch statement to check
the pid for -1, child, parent.
THE CODE FOR THE CHILD (an execl) FALLS THROUGH INTO THE PARENT'S
CASE!!! ptx hangs with the child getting -1's back from "wait"
forever.
I fixed it with a symbolic link from /bin/sort -> /usr/bin/sort,
and will fix the code when I get a chance. (I know... I should
fix it now).
3. nroff dumps core whenever it tries to hyphenate a word.
Some data tables are moved into the text segment by a script that
removes ".data" and adds a ".text" at the top of the assembler
code. However, nroff is linked with a "-i".
The fix is to remove the ${LFLAG} in the makefile, and load it
non-separate. ("-n" seems to make it a tad too big...).
That's all for now. No source code changes this time.
Skip Egdorf
hwe at lanl.DOE.GOV
More information about the Comp.bugs.2bsd
mailing list