[31] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

re: bcopy vs. memcpy

daemon@ATHENA.MIT.EDU (Brad Strand)
Thu Oct 18 16:29:29 1990

Date: Thu, 18 Oct 90 15:18:26 CDT
From: bstrand@poplar.cray.com (Brad Strand)
To: krb5-testers@ATHENA.MIT.EDU
Cc: 

>>Point 2: does anyone besides me think that kerberos V5 should use the
>>ANSI-C "mem*" functions instead of the less-standard BSD
>>"bcopy/bcmp/bzero"?

>EWOULDBENICE... this is on the list of things to clean up before final
>release.  I use bcopy/bcmp/bzero since I know the argument order, and I
>haven't had the chance to retrain my mind to understand the mem* stuff.

>John

Maybe I'm in the minority, but I prefer the BSD stuff simply because
they check for and properly handle overlapping input/output
buffer conditions.  (Not that I encourage this practice  ;-)

BDS
-- 
Brad Strand		bstrand@cray.com (DOMAIN) uunet!cray!bstrand (UUCP)
Cray Research, Inc.	#include <std_disclaimer.h>
"For Angling may be said to be so like Mathematics that it can never be
 fully learned; at least not so fully but that there will still be more
 new experiments left for the trial of others that succeed us." -- Izaak Walton

home help back first fref pref prev next nref lref last post