Re: Results of the memswap() smackdown from the thread "Sorting" assignment



On Feb 16, 10:00 pm, Ben Bacarisse <ben.use...@xxxxxxxxx> wrote:
Richard Heathfield <r...@xxxxxxxxxxxxxxx> writes:
Ben Bacarisse said:

spinoza1111<spinoza1...@xxxxxxxxx> writes:

<snip>

<snip> he has made a significant error in
recommending memcpy without remembering, as the C expert here, that it
is undefined for overlap.

Did he?

No. <snip>

Of course not.  I obviously failed to indicate the sarcastic tone of
the question.  Next time I will try "Right, and I am Marie of
Romania"[1].

He did, Ben. He replied to Malcolm's claim that C cannot do a
multibyte memory swap with code that used memcpy() and he did not
disclose this limitation at the time. When he remembered or perhaps
learned the behavior a week later, he told Randy Howard that this was
so, and then he proceeded to collude with Howard in a cover up.

[1]http://www.quotationspage.com/quote/126.htmlwhich might lighten
the tone of the now tedious collection of threads.

--
Ben.

.