Commit 7ef5c3a5 authored by Thomas De Schampheleire's avatar Thomas De Schampheleire Committed by Peter Korsgaard
Browse files

ttcp: remove deprecated package



Since this is the only package depending on BR2_DEPRECATED_SINCE_2012_05,
remove that symbol as well.

Signed-off-by: default avatarThomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent aa1845e8
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -268,10 +268,6 @@ config BR2_DEPRECATED_SINCE_2010_11
	bool
	default y

config BR2_DEPRECATED_SINCE_2012_05
	bool
	default y

config BR2_DEPRECATED_SINCE_2012_11
	bool
	default y
+7 −0
Original line number Diff line number Diff line
@@ -101,6 +101,13 @@ endif
###############################################################################
comment "Legacy options removed in 2014.02"

config BR2_PACKAGE_TTCP
	bool "ttcp has been removed"
	select BR2_LEGACY
	help
	  The 'ttcp' package has been removed since it has been
	  deprecated for more than four buildroot releases.

config BR2_PACKAGE_LIBNFC_LLCP
	bool "libnfc-llcp has been removed"
	depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
+0 −1
Original line number Diff line number Diff line
@@ -935,7 +935,6 @@ source "package/thttpd/Config.in"
source "package/tinyhttpd/Config.in"
source "package/tn5250/Config.in"
source "package/transmission/Config.in"
source "package/ttcp/Config.in"
source "package/tvheadend/Config.in"
source "package/udpcast/Config.in"
source "package/ulogd/Config.in"

package/ttcp/Config.in

deleted100644 → 0
+0 −7
Original line number Diff line number Diff line
config BR2_PACKAGE_TTCP
	bool "ttcp"
	depends on BR2_DEPRECATED_SINCE_2012_05
	help
	  Benchmarking tool for determining TCP and UDP performance.

	  ftp://ftp.sgi.com/sgi/src/ttcp/README
+0 −15
Original line number Diff line number Diff line
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
Loading