From: sjhill at uclibc.org <sjhill@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/netkitbase
Date: Fri, 1 Dec 2006 22:48:22 -0800 (PST) [thread overview]
Message-ID: <20061202064822.F0D6D485A9@busybox.net> (raw)
Author: sjhill
Date: 2006-12-01 22:48:22 -0800 (Fri, 01 Dec 2006)
New Revision: 16752
Log:
Remove usage of bcopy.
Added:
trunk/buildroot/package/netkitbase/netkitbase-remove-bcopy.patch
Changeset:
Added: trunk/buildroot/package/netkitbase/netkitbase-remove-bcopy.patch
===================================================================
--- trunk/buildroot/package/netkitbase/netkitbase-remove-bcopy.patch 2006-12-02 06:42:25 UTC (rev 16751)
+++ trunk/buildroot/package/netkitbase/netkitbase-remove-bcopy.patch 2006-12-02 06:48:22 UTC (rev 16752)
@@ -0,0 +1,31 @@
+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;
next reply other threads:[~2006-12-02 6:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-02 6:48 sjhill at uclibc.org [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-05-07 4:01 [Buildroot] svn commit: trunk/buildroot/package/netkitbase sjhill at uclibc.org
2007-11-13 10:01 vanokuten at uclibc.org
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061202064822.F0D6D485A9@busybox.net \
--to=sjhill@uclibc.org \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox