packages: make/make.spec, make/make-3.81-strcpy-overlap.patch (NEW) - rel 4...

arekm arekm at pld-linux.org
Fri Jul 31 23:52:50 CEST 2009


Author: arekm                        Date: Fri Jul 31 21:52:50 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 4; strcpy patch from fc

---- Files affected:
packages/make:
   make.spec (1.81 -> 1.82) , make-3.81-strcpy-overlap.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/make/make.spec
diff -u packages/make/make.spec:1.81 packages/make/make.spec:1.82
--- packages/make/make.spec:1.81	Sun Feb  8 23:43:51 2009
+++ packages/make/make.spec	Fri Jul 31 23:52:45 2009
@@ -10,7 +10,7 @@
 Summary(uk.UTF-8):	GNU Make
 Name:		make
 Version:	3.81
-Release:	3
+Release:	4
 Epoch:		1
 License:	GPL
 Group:		Development/Building
@@ -26,6 +26,7 @@
 Patch5:		%{name}-getcwd.patch
 Patch6:		%{name}-memory.patch
 Patch7:		%{name}-newlines.patch
+Patch8:		%{name}-3.81-strcpy-overlap.patch
 URL:		http://www.gnu.org/software/make/
 BuildRequires:	autoconf >= 2.59
 BuildRequires:	automake >= 1:1.9
@@ -105,6 +106,7 @@
 %patch5 -p1
 %patch6 -p1
 %patch7 -p1
+%patch8 -p0
 
 rm -f po/stamp-po
 
@@ -162,6 +164,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.82  2009/07/31 21:52:45  arekm
+- rel 4; strcpy patch from fc
+
 Revision 1.81  2009/02/08 22:43:51  arekm
 - more fc fixes
 

================================================================
Index: packages/make/make-3.81-strcpy-overlap.patch
diff -u /dev/null packages/make/make-3.81-strcpy-overlap.patch:1.1
--- /dev/null	Fri Jul 31 23:52:50 2009
+++ packages/make/make-3.81-strcpy-overlap.patch	Fri Jul 31 23:52:45 2009
@@ -0,0 +1,16 @@
+Index: job.c
+===================================================================
+RCS file: /sources/make/make/job.c,v
+retrieving revision 1.193
+diff -u -r1.193 job.c
+--- job.c	9 Jun 2009 15:35:38 -0000	1.193
++++ job.c	31 Jul 2009 11:42:16 -0000
+@@ -1600,7 +1600,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],
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/make/make.spec?r1=1.81&r2=1.82&f=u



More information about the pld-cvs-commit mailing list