Re: strlen(), K+1: clarification
- From: Richard Heathfield <rjh@xxxxxxxxxxxxxxx>
- Date: Mon, 25 Feb 2008 19:28:58 +0000
"Stephen Howe" <sjhoweATdialDOTpipexDOTcom> said:
Spinoza whined:
We all make "errors". Clive uses an invariant in a for loop, Falconer
post increments, Heathfield forgets memcpy limitations.
So you keep saying and lying.
YOU HAVE FAILED to post a URL of Clive's code. The fact that you CANNOT
means you are lying.
And memcpy() is perfect, as swapping for overlapping arguments is not
well-defined as Willem showed.
I don't know where Spinoza got the idea that I "forget memcpy limitations".
And if Clive used an invariant in a for loop, well, what's wrong with
that? That's good practice. Spinoza seems to be confusing "invariants"
with "values that the compiler cannot assume are invariants" - two very
different things.
--
Richard Heathfield <http://www.cpax.org.uk>
Email: -http://www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
.
- Follow-Ups:
- Re: strlen(), K+1: clarification
- From: spinoza1111
- Re: strlen(), K+1: clarification
- References:
- strlen(), K+1: clarification
- From: spinoza1111
- Re: strlen(), K+1: clarification
- From: Ben Bacarisse
- Re: strlen(), K+1: clarification
- From: spinoza1111
- Re: strlen(), K+1: clarification
- From: Willem
- Re: strlen(), K+1: clarification
- From: Randy Howard
- Re: strlen(), K+1: clarification
- From: Willem
- Re: strlen(), K+1: clarification
- From: spinoza1111
- Re: strlen(), K+1: clarification
- From: Stephen Howe
- strlen(), K+1: clarification
- Prev by Date: Re: strlen(), K+1: clarification
- Next by Date: Re: A note on personal corruption as a result of using C
- Previous by thread: Re: strlen(), K+1: clarification
- Next by thread: Re: strlen(), K+1: clarification
- Index(es):
Relevant Pages
|