summaryrefslogtreecommitdiffstats
path: root/package/netkitbase/netkitbase-remove-bcopy.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/netkitbase/netkitbase-remove-bcopy.patch')
-rw-r--r--package/netkitbase/netkitbase-remove-bcopy.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/package/netkitbase/netkitbase-remove-bcopy.patch b/package/netkitbase/netkitbase-remove-bcopy.patch
deleted file mode 100644
index b74b85b5f0..0000000000
--- a/package/netkitbase/netkitbase-remove-bcopy.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-diff -ur netkit-base-0.17/inetd/builtins.c netkit-base-0.17-patched/inetd/builtins.c
---- netkit-base-0.17/inetd/builtins.c 2000-07-22 15:13:07.000000000 -0500
-+++ netkit-base-0.17-patched/inetd/builtins.c 2006-12-02 00:50:05.801209342 -0600
-@@ -140,10 +140,10 @@
- text[LINESIZ + 1] = '\n';
- for (rs = ring;;) {
- if ((len = endring - rs) >= LINESIZ)
-- bcopy(rs, text, LINESIZ);
-+ memcpy(text, rs, LINESIZ);
- else {
-- bcopy(rs, text, len);
-- bcopy(ring, text + len, LINESIZ - len);
-+ memcpy(text, rs, len);
-+ memcpy(text + len, ring, LINESIZ - len);
- }
- if (++rs == endring)
- rs = ring;
-@@ -183,10 +183,10 @@
- return;
-
- if ((len = endring - rs) >= LINESIZ)
-- bcopy(rs, text, LINESIZ);
-+ memcpy(text, rs, LINESIZ);
- else {
-- bcopy(rs, text, len);
-- bcopy(ring, text + len, LINESIZ - len);
-+ memcpy(text, rs, len);
-+ memcpy(text + len, ring, LINESIZ - len);
- }
- if (++rs == endring)
- rs = ring;
OpenPOWER on IntegriCloud