Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!mcsun!hp4nl!utrcu1!mi.eltn.utwente.nl!klamer From: klamer@mi.eltn.utwente.nl (Klamer Schutte -- Universiteit Twente) Newsgroups: comp.os.minix Subject: bugfix in aoutdump.c Keywords: minix-68k Message-ID: Date: 26 Feb 91 07:49:14 GMT Sender: news@utrcu1.UUCP Organization: University of Twente, BSC-El Lines: 31 I found a bug in the program aoutdump. The program reported sizes to be negative for values in the 32k-64k range (among others). The same routine exists in asize, astrip and cv; but only in aoutdump this bug existed (???) Klamer (.signature at end) *** aoutdump.c.org Wed Jan 24 21:00:07 1990 --- aoutdump.c Mon Feb 25 22:58:01 1991 *************** *** 216,222 **** break; case '4': l = (long)getc(f); ! l |= (long)(getc(f) << 8); l |= ((long)getc(f) << 16); l |= ((long)getc(f) << 24); *((long *)p) = l; p += sizeof(long); --- 216,222 ---- break; case '4': l = (long)getc(f); ! l |= ((long)getc(f) << 8); l |= ((long)getc(f) << 16); l |= ((long)getc(f) << 24); *((long *)p) = l; p += sizeof(long); -- Klamer Schutte Faculty of electrical engineering -- University of Twente, The Netherlands klamer@mi.eltn.utwente.nl {backbone}!mcsun!mi.eltn.utwente.nl!klamer Brought to you by Super Global Mega Corp .com