]>
Commit | Line | Data |
---|---|---|
ebd9bd39 MT |
1 | Index: job.c |
2 | =================================================================== | |
3 | RCS file: /sources/make/make/job.c,v | |
4 | retrieving revision 1.193 | |
5 | diff -u -r1.193 job.c | |
6 | --- a/job.c 9 Jun 2009 15:35:38 -0000 1.193 | |
7 | +++ b/job.c 31 Jul 2009 11:42:16 -0000 | |
8 | @@ -1600,7 +1600,7 @@ | |
9 | /* There are no more references in this line to worry about. | |
10 | Copy the remaining uninteresting text to the output. */ | |
11 | if (out != in) | |
12 | - strcpy (out, in); | |
13 | + memmove (out, in, strlen (in) + 1); | |
14 | ||
15 | /* Finally, expand the line. */ | |
16 | lines[i] = allocated_variable_expand_for_file (cmds->command_lines[i], |