cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [PATCH v2] NTLM tests: boost coverage by forcing the hostname

From: Kamil Dudka <kdudka_at_redhat.com>
Date: Tue, 3 Aug 2010 00:26:12 +0200

Hi GŁn,

On Monday 02 August 2010 21:43:57 Guenter wrote:
> http://curl.haxx.se/auto/log.cgi?id=20100802185016-15303#prob1
> I guess we can use here memcpy(), or? bcopy() is deprecated, see:
> http://linux.die.net/man/3/bcopy
> quote:
> This function is deprecated (marked as LEGACY in POSIX.1-2001): use
> memcpy() or memmove() in new programs. Note that the first two
> parameters are interchanged for memcpy() and memmove().

I completely agree with that change. I already did the same for bzero()
and somehow didn't spot the occurrence of bcopy(). The md4 code is pretty
old, it used K&R style in function definitions in its original version.

Kamil
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-08-03