Re: [PATCH] Really *do* nothing in while loop
- From
- Thomas Glanzmann <sithglan@stud.uni-erlangen.de>
- Date
- May 8, 2005, 11:18 UTC
- Message-ID
- <20050508111840.GB12436@cip.informatik.uni-erlangen.de>
- In-Reply-To
- <427DE086.40307@tls.msk.ru>
Hello,
> >- /* nothing */ > >+ /* nothing */;
> Well, the lack of semicolon is wrong really (and funny).
yes, it is but harmless in this envrionment.
Show 7 quoted lines
> But is the whole while loop needed at all? deflate()
> consumes as much input as it can, producing as much output
> as it can. So without the loop, and without updating the
> buffer pointers ({next,avail}_{in,out}) it will do just
> fine without the loop, and will return something != Z_OK
> on next iteration. If this is to mean to flush output,
> it should be deflate(&stream, Z_FLUSH) or something.I have no idea.
> P.S. What's git@vger.kernel.org for ?
It is the list which handles GIT related discussions. Frontend/backend and isn't kernel related.
Thomas