Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!seismo!mcvax!ukc!cheviot!andy From: andy@cheviot.UUCP Newsgroups: comp.os.minix Subject: Re: mkfs.c patch Message-ID: <2054@cheviot.uk.ac.newcastle.cheviot> Date: Tue, 7-Apr-87 07:49:47 EST Article-I.D.: cheviot.2054 Posted: Tue Apr 7 07:49:47 1987 Date-Received: Sat, 11-Apr-87 06:02:21 EST Reply-To: andy@cheviot.newcastle.ac.uk (Andy Linton) Distribution: world Organization: Computing Laboratory, U of Newcastle upon Tyne, Tyne and Wear, UK NE17RU Lines: 32 As always one bug reveals another! Easy to find but when you recompile after patching with the recent mkfs patch you can't! andy ----- *** mkfs.c Tue Apr 7 13:40:06 1987 --- mkfs.c.orig Wed Apr 1 13:29:13 1987 *************** *** 622,628 int k; char c, *p; ! for (k = 0; k < MAX_TOKENS; k++) parse[k] = 0; for (k = 0; k < LINE_LEN; k++) line[k] = 0; k = 0; parse[0] = 0; --- 619,625 ----- int k; char c, *p; ! for (k = 0; k < MAX_TOKEN; k++) parse[k] = 0; for (k = 0; k < LINE_LEN; k++) line[k] = 0; k = 0; parse[0] = 0; -- SENDER : Andy Linton PHONE : +44 91 232 9233 ARPA : andy%cheviot.newcastle.ac.uk@cs.ucl.ac.uk JANET : andy@uk.ac.newcastle.cheviot UUCP : andy@cheviot.UUCP