f078a8bc95
- fix download url : isn't available on previous ftp, use an other one instead - add version according to source code version - rename and clean patch according to patch policy [Peter: adjust upstream URL in Config.in] Signed-off-by: Arnaud Aujon <arnaud.aujon@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
16 lines
476 B
Diff
16 lines
476 B
Diff
Replace deprecated bcopy call by using memmove instead.
|
|
|
|
Index: b/ttcp.c
|
|
===================================================================
|
|
--- a/ttcp.c
|
|
+++ b/ttcp.c
|
|
@@ -241,7 +241,7 @@
|
|
if ((addr=gethostbyname(host)) == NULL)
|
|
err("bad hostname");
|
|
sinhim.sin_family = addr->h_addrtype;
|
|
- bcopy(addr->h_addr,(char*)&addr_tmp, addr->h_length);
|
|
+ memmove((char*)&addr_tmp, addr->h_addr, addr->h_length);
|
|
#if defined(cray)
|
|
sinhim.sin_addr = addr_tmp;
|
|
#else
|