Follow-up Comment #1, bug #29253 (project make): Please note that bcopy is marked as LEGACY in POSI, it is perhas better to use memmove, as suggested in the man page for bcopy. Here is an equivalent patch from : Roderich Schupp <roderich.sch...@googlemail.com>
--- make-dfsg-3.81-ORIG/job.c 2010-02-06 18:38:32.000000000 +0100 +++ make-dfsg-3.81/job.c 2010-02-06 18:40:56.000000000 +0100 @@ -1594,7 +1594,7 @@ /* There are no more references in this line to worry about. Copy the remaining uninteresting text to the output. */ if (out != in) - strcpy (out, in); + memmove(out, in, strlen(in)+1); /* Finally, expand the line. */ lines[i] = allocated_variable_expand_for_file (cmds->command_lines[i], _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?29253> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make