On Fri, 2003-11-14 at 16:29, Patrick Rigney wrote:
> void foofill(char *start,char *end)
...
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
All criticisms are correct, my only defense is that it was 'for
illustration purposes only' (sic).
But it also proves a point, no code is 'temporary', kludges last forever
to embarrass their authors and all code needs documentation :-)