[comp.os.minix] mkfs.c patch

andy@cheviot.UUCP (04/07/87)

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