summaryrefslogtreecommitdiff
path: root/imake.c
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-25 19:26:56 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-25 19:26:56 +0000
commit91f4b859c20d25898da3324921758c2d35523fd5 (patch)
tree0d8023335880d0e16593210ae94b57b58d4d5a85 /imake.c
parente5ab5c93d3178aa82b66e2c086b54e042930725e (diff)
XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folksxf86-4_3_99_902xf86-4_3_99_901xf86-4_3_99_16
Diffstat (limited to 'imake.c')
-rw-r--r--imake.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/imake.c b/imake.c
index a85a166..0a13425 100644
--- a/imake.c
+++ b/imake.c
@@ -7,7 +7,7 @@
* be passed to the template file. *
* *
***************************************************************************/
-/* $XFree86: xc/config/imake/imake.c,v 3.63 2002/12/16 22:48:27 herrb Exp $ */
+/* $XFree86: xc/config/imake/imake.c,v 3.64 2003/03/26 20:43:47 tsi Exp $ */
/*
*
@@ -1825,7 +1825,7 @@ isempty(char *line)
(pend[5] == ' ' || pend[5] == '\t' || pend[5] == '\r' || pend[5] == '\0'))
{
*pend = '#';
- strcpy(pend+1, pend+5);
+ memmove(pend+1, pend+5, strlen(pend+5)+1);
}
#ifdef CROSSCOMPILE
if (magic_make_vars)