nm.c bug (too many files)
Jaap Akkerhuis
jaap at mcvax.UUCP
Thu Feb 21 13:56:55 AEST 1985
In article <12300001 at ciprico.UUCP> dan at ciprico.UUCP writes:
>
>Just found this....I'm using a Uniplus Version of System III...the problem
>lies within nm. The namelist printer...it seems that after 17 files
>that are in a "bad format", it can't open any more files. Someone somewhere
>has forgotten to close the files after seeing that they are in a bad
>format. I don't have source code, can someone verify this? Thanx.
Yep, it is very likely that this is the case. On the 4.2BSD version
of nm the files are never closed when they have a bad format (or an
old one). The fix (if you have the source code of course) is to
replace the "return"'s in these cases by a "goto out", in routine
namelist(). The current file under inspection will then be closed.
If you don't have the source I'm afraid you have to fool around with adb
to fix it.
jaap.
More information about the Net.bugs.usg
mailing list