]> git.pld-linux.org Git - packages/bcc.git/blame - dev86-copt.patch
- x32 rebuild
[packages/bcc.git] / dev86-copt.patch
CommitLineData
66d65e6e
MK
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.023697 seconds and 4 git commands to generate.