summaryrefslogtreecommitdiffstats
path: root/package/netkittelnet/netkittelnet-bcopy.patch
diff options
context:
space:
mode:
authorArnaud Aujon <arnaud.aujon@gmail.com>2013-12-15 20:23:12 +0100
committerPeter Korsgaard <peter@korsgaard.com>2013-12-15 21:04:05 +0100
commit560fe85bf7fb81956e80848c8bb28d7a6d00a2a2 (patch)
tree63a5c807136fc1487f7d02d0da5823502aa48ba3 /package/netkittelnet/netkittelnet-bcopy.patch
parent472f629fa9253f13d037b46d30136080239a1a8e (diff)
downloadbuildroot-560fe85bf7fb81956e80848c8bb28d7a6d00a2a2.tar.gz
buildroot-560fe85bf7fb81956e80848c8bb28d7a6d00a2a2.zip
Remove deprecated package netkitbase and netkittelnet
[Peter: fixup Config.in.legacy indentation] Signed-off-by: Arnaud Aujon <arnaud.aujon@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/netkittelnet/netkittelnet-bcopy.patch')
-rw-r--r--package/netkittelnet/netkittelnet-bcopy.patch57
1 files changed, 0 insertions, 57 deletions
diff --git a/package/netkittelnet/netkittelnet-bcopy.patch b/package/netkittelnet/netkittelnet-bcopy.patch
deleted file mode 100644
index 0b40e9e5b2..0000000000
--- a/package/netkittelnet/netkittelnet-bcopy.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-diff -ur netkit-telnet-0.17/telnetd/authenc.c netkit-telnet-0.17-patched/telnetd/authenc.c
---- netkit-telnet-0.17/telnetd/authenc.c 1999-12-12 08:59:44.000000000 -0600
-+++ netkit-telnet-0.17-patched/telnetd/authenc.c 2008-01-23 21:31:45.546793060 -0600
-@@ -35,7 +35,7 @@
- int len;
- {
- if (nfrontp + len < netobuf + BUFSIZ) {
-- bcopy((void *)str, (void *)nfrontp, len);
-+ memcpy((void *)nfrontp, (void *)str, len);
- nfrontp += len;
- return(len);
- }
-diff -ur netkit-telnet-0.17/telnetd/slc.c netkit-telnet-0.17-patched/telnetd/slc.c
---- netkit-telnet-0.17/telnetd/slc.c 1999-12-12 08:59:44.000000000 -0600
-+++ netkit-telnet-0.17-patched/telnetd/slc.c 2008-01-23 21:32:07.859024619 -0600
-@@ -432,7 +432,7 @@
- def_slclen = len;
- def_slcbuf = malloc((unsigned)len);
- if (def_slcbuf == NULL) return; /* too bad */
-- bcopy(ptr, def_slcbuf, len);
-+ memcpy(def_slcbuf, ptr, len);
- }
- }
- }
-diff -ur netkit-telnet-0.17/telnetd/sys_term.c netkit-telnet-0.17-patched/telnetd/sys_term.c
---- netkit-telnet-0.17/telnetd/sys_term.c 1999-12-17 08:28:47.000000000 -0600
-+++ netkit-telnet-0.17-patched/telnetd/sys_term.c 2008-01-23 21:32:27.583229320 -0600
-@@ -84,7 +84,7 @@
- */
- void copy_termbuf(char *cp, int len) {
- if (len > sizeof(termbuf)) len = sizeof(termbuf);
-- bcopy(cp, (char *)&termbuf, len);
-+ memcpy((char *)&termbuf, cp, len);
- termbuf2 = termbuf;
- }
- #endif /* defined(LINEMODE) && defined(TIOCPKT_IOCTL) */
-diff -ur netkit-telnet-0.17/telnetd/utility.c netkit-telnet-0.17-patched/telnetd/utility.c
---- netkit-telnet-0.17/telnetd/utility.c 1999-12-12 08:59:45.000000000 -0600
-+++ netkit-telnet-0.17-patched/telnetd/utility.c 2008-01-23 21:33:02.087587426 -0600
-@@ -248,7 +248,7 @@
- next = nextitem(next);
- } while (wewant(next) && (nfrontp > next));
- length = next-thisitem;
-- bcopy(thisitem, good, length);
-+ memcpy(good, thisitem, length);
- good += length;
- thisitem = next;
- } else {
-@@ -351,7 +351,7 @@
- netflush();
- }
-
-- bcopy(ptr, nfrontp, len);
-+ memcpy(nfrontp, ptr, len);
- nfrontp += len;
-
- } /* end of writenet */
OpenPOWER on IntegriCloud