Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site mcc-db.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!ut-sally!mcc-db!ables From: ables@mcc-db.UUCP (King Ables) Newsgroups: net.sources.bugs Subject: simple fix to ts.c Message-ID: <190@mcc-db.UUCP> Date: Tue, 14-May-85 18:44:20 EDT Article-I.D.: mcc-db.190 Posted: Tue May 14 18:44:20 1985 Date-Received: Thu, 16-May-85 07:47:34 EDT Distribution: net Organization: MCC (Austin, TX) Lines: 15 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@mcc UUCP: {ihnp4,seismo,ctvax}!ut-sally!mcc-db!ables