*BSD News Article 1639


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel!munnari.oz.au!uunet!mcsun!Germany.EU.net!math.fu-berlin.de!hrz.tu-chemnitz.de!wutcd
From: wutcd@hrz.tu-chemnitz.de (Joerg Wunsch)
Subject: Re: 386BSD bug fixes
Message-ID: <wutcd.709234504@hrz.tu-chemnitz.de>
Sender: bin@hrz.tu-chemnitz.de (Owner of all binaries)
Organization: tu-chemnitz
References: <wutcd.708090834@hrz.tu-chemnitz.de> <1992Jun19.185108.1@woods.ulowell.edu>
Date: Mon, 22 Jun 1992 17:35:04 GMT
Lines: 18

trandu@woods.ulowell.edu writes:

>why not: for (;*to++ = *from++;)
>can't help it :-)
>-huy

yeah, of course, but then you can write also:

	while(*to++ = *from++) ;

[See K&R for this, they've discussed it widely:-)]
enjoy,
	J"org
	joerg_wunsch%bonnie@hadrian.hrz.tu-chemnitz.de

p.s.:
To satisfy all the other netfolks: i've seen at least two other articles
which displayed this bug, too...