summaryrefslogtreecommitdiff
path: root/community/openarena/strcpy-memmove.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-11-03 01:06:08 -0700
committerroot <root@rshg054.dnsready.net>2013-11-03 01:06:08 -0700
commit1ce58386c5ee7086ac6848f35cade5d45bf86764 (patch)
treea02b709cc5107313c2a640ad192b4a4cb790df4f /community/openarena/strcpy-memmove.patch
parent02c5897cefdb4df89590f03c12870ad263240ebd (diff)
Sun Nov 3 01:05:44 PDT 2013
Diffstat (limited to 'community/openarena/strcpy-memmove.patch')
-rw-r--r--community/openarena/strcpy-memmove.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/community/openarena/strcpy-memmove.patch b/community/openarena/strcpy-memmove.patch
deleted file mode 100644
index 0123af61a..000000000
--- a/community/openarena/strcpy-memmove.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- code/botlib/l_script.c.orig 2009-11-02 20:29:23.000000000 +0100
-+++ code/botlib/l_script.c 2009-11-02 22:21:40.000000000 +0100
-@@ -1118,7 +1118,7 @@
- {
- if (*string == '\"')
- {
-- strcpy(string, string+1);
-+ memmove(string, string+1, strlen(string));
- } //end if
- if (string[strlen(string)-1] == '\"')
- {
-@@ -1135,7 +1135,7 @@
- {
- if (*string == '\'')
- {
-- strcpy(string, string+1);
-+ memmove(string, string+1, strlen(string));
- } //end if
- if (string[strlen(string)-1] == '\'')
- {