diff options
author | Jose V Beneyto <sepen@crux.nu> | 2013-10-14 13:55:43 +0200 |
---|---|---|
committer | Jose V Beneyto <sepen@crux.nu> | 2013-10-14 13:55:43 +0200 |
commit | a6639e5cd00728d50f9030554bbe0261f7e2d32a (patch) | |
tree | dd222a96570806d4bdbc24984bfe1eaf82d59340 /dev86/dev86-copt.patch | |
parent | 78311401f9316811648212e8df79b20c3f1f300b (diff) | |
download | contrib-a6639e5cd00728d50f9030554bbe0261f7e2d32a.tar.gz contrib-a6639e5cd00728d50f9030554bbe0261f7e2d32a.tar.xz |
dev86: added missing patch
Diffstat (limited to 'dev86/dev86-copt.patch')
-rw-r--r-- | dev86/dev86-copt.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/dev86/dev86-copt.patch b/dev86/dev86-copt.patch new file mode 100644 index 000000000..d239b999a --- /dev/null +++ b/dev86/dev86-copt.patch @@ -0,0 +1,11 @@ +--- copt/copt.c.orig 2003-10-08 04:46:35.000000000 +0900 ++++ copt/copt.c 2010-10-12 12:30:25.000000000 +0900 +@@ -174,7 +174,7 @@ static char *readline(FILE *fp) + /* Delete leading white spaces */ + for (cp = buf; *cp && isspace(*cp); cp++) ; + if (cp != buf && *cp) +- strcpy(buf, cp); ++ memmove(buf, cp, strlen(cp) + 1); + + return(buf); + } |