• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/netkitbase/netkitbase-remove-bcopy.patch
"Steven J. Hill""Steven J. Hill" committed 0f372f9e1ed02 Dec 2006
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
diff -ur netkit-base-0.17/inetd/builtins.c netkit-base-0.17-patched/inetd/builtins.c
2
--- netkit-base-0.17/inetd/builtins.c   2000-07-22 15:13:07.000000000 -0500
3
+++ netkit-base-0.17-patched/inetd/builtins.c   2006-12-02 00:50:05.801209342 -0600
4
@@ -140,10 +140,10 @@
5
    text[LINESIZ + 1] = '\n';
6
    for (rs = ring;;) {
7
        if ((len = endring - rs) >= LINESIZ)
8
-           bcopy(rs, text, LINESIZ);
9
+           memcpy(text, rs, LINESIZ);
10
        else {
11
-           bcopy(rs, text, len);
12
-           bcopy(ring, text + len, LINESIZ - len);
13
+           memcpy(text, rs, len);
14
+           memcpy(text + len, ring, LINESIZ - len);
15
        }
16
        if (++rs == endring)
17
            rs = ring;
18
@@ -183,10 +183,10 @@
19
        return;
20
 
21
    if ((len = endring - rs) >= LINESIZ)
22
-       bcopy(rs, text, LINESIZ);
23
+       memcpy(text, rs, LINESIZ);
24
    else {
25
-       bcopy(rs, text, len);
26
-       bcopy(ring, text + len, LINESIZ - len);
27
+       memcpy(text, rs, len);
28
+       memcpy(text + len, ring, LINESIZ - len);
29
    }
30
    if (++rs == endring)
31
        rs = ring;
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.