]> git.pld-linux.org Git - packages/bcc.git/blob - dev86-copt.patch
726196f3ef227323fc677ec91bc52ad6e1e77040
[packages/bcc.git] / dev86-copt.patch
1 --- linux86-0.16.17/copt/copt.c.orig    2003-10-08 04:46:35.000000000 +0900
2 +++ linux86-0.16.17/copt/copt.c 2010-10-12 12:30:25.000000000 +0900
3 @@ -174,7 +174,7 @@ static char *readline(FILE *fp)
4    /* Delete leading white spaces */
5    for (cp = buf; *cp && isspace(*cp); cp++) ;
6    if (cp != buf && *cp)
7 -       strcpy(buf, cp);
8 +       memmove(buf, cp, strlen(cp) + 1);
9  
10    return(buf);
11  }
This page took 0.055154 seconds and 2 git commands to generate.