simple fix to ts.c
King Ables
ables at mcc-db.UUCP
Wed May 15 08:44:20 AEST 1985
There is a minor problem in the version of ts.c that went around recently
(the program which looks at a tape and reports blocking information for
a fixed record length / fixed block length tape. If the last block of a
file is short, it reports the number of bytes correctly, however, for
the previous blocks that are full, it also reports the short number of
bytes. The fix is:
96c96
< nrec, recno-1, recno - nrec, fsize);
---
> nrec, recno-1, recno - nrec, n);
-King
ARPA: ables at mcc
UUCP: {ihnp4,seismo,ctvax}!ut-sally!mcc-db!ables
More information about the Comp.sources.bugs
mailing list