*BSD News Article 6666


Return to BSD News archive

Path: sserve!manuel.anu.edu.au!munnari.oz.au!spool.mu.edu!uwm.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!haven.umd.edu!uunet!mcsun!sun4nl!tuegate.tue.nl!svin09!wzv!gvr.win.tue.nl!guido
From: guido@gvr.win.tue.nl (Guido van Rooij)
Newsgroups: comp.unix.bsd
Subject: patchkit bug for init
Message-ID: <4036@wzv.win.tue.nl>
Date: 16 Oct 92 19:42:40 GMT
Sender: news@wzv.win.tue.nl
Organization: Guido's home 486 box
Lines: 24


When I inspected my own patched init.c with the one derived from
terry's patchkit, I noted the following:

		while(wait(&status) != pid)
		while(drain)				/* 31 Jul 92*/
			pause();
		goto top;
	}
(this comes form patch 22)
In my init.c, the first while statement was ended with a semicolon. This
also matches with the indentation level. 
I also examined the old postings about this. In the original code it says:

		while(wait(&status) != pid)
		goto top;

or something like that. This also seems wrong to me...
However in the original posting of patch 22, the semicolon WAS present,
as it should, according to me.

Any comments? (especially terry)

-Guido