8086 (was Re: more talking to the press.)

From: Patrick Rigney <patrick_at_evocative.com>
Date: Fri Nov 14 18:29:43 2003

> -----Original Message-----
> From: cctalk-bounces_at_classiccmp.org
> [mailto:cctalk-bounces_at_classiccmp.org]On Behalf Of Sean 'Captain Napalm'
> Conner
> Sent: Friday, November 14, 2003 1:17 PM
> To: cctalk_at_classiccmp.org
> Subject: Re: 8086 (was Re: more talking to the press.)
> Um, that should be:
>
> void foofill(char *start,char *end)
> {
> while (start < end)
> {
> *start++ = 0;
> }
> }

yeah... and, I assume if you specify start and end with the same value, you
want that ONE byte filled with zero, so the test should be:

        while (start <= end)

Nicht war? --Patrick
Received on Fri Nov 14 2003 - 18:29:43 GMT

This archive was generated by hypermail 2.3.0 : Fri Oct 10 2014 - 23:36:19 BST