Ethereal-dev: Re: [Ethereal-dev] bcopy function in TACACS.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Tue, 23 Sep 2003 14:52:23 -0700
On Sep 23, 2003, at 2:15 PM, Greg Morris wrote:

This function is deprecated.
As are a number of other functions; see the "Portability" section of 
"doc/README.developer" (which also mentions a number of other coding 
practices to avoid, e.g. C++-style comments and zero-length arrays).
 Use memmove() instead.
Or "memcpy()", if the copy is between areas guaranteed not to overlap 
(as is often the case).
It is not included in CYGWIN and Ethereal cannot be compiled and linked on Windows.
It might not be present in some UNIXes, either, and even in those that 
do, it might not be declared in the same header file that it's declared 
in on your system.