commit cc75c485c45bb4fdc61d5f20d254d2e2bf3a264d
Author: Jan RÄ™korajski <[email protected]>
Date:   Fri Dec 7 22:49:16 2012 +0100

    - more fixes

 format-security.patch | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
---
diff --git a/format-security.patch b/format-security.patch
index b549233..e7f7e3e 100644
--- a/format-security.patch
+++ b/format-security.patch
@@ -12,3 +12,23 @@
          }
  
        result |= CPP_N_INTEGER;
+--- gcc-4.6.2/libcpp/macro.c~  2010-09-29 16:49:14.000000000 +0200
++++ gcc-4.6.2/libcpp/macro.c   2012-12-07 22:45:54.119642910 +0100
+@@ -1761,7 +1761,7 @@
+            function-like macros, but not at the end.  */
+         if (following_paste_op)
+           {
+-            cpp_error (pfile, CPP_DL_ERROR, paste_op_error_msg);
++            cpp_error (pfile, CPP_DL_ERROR, "%s", paste_op_error_msg);
+             return false;
+           }
+         break;
+@@ -1774,7 +1774,7 @@
+            function-like macros, but not at the beginning.  */
+         if (macro->count == 1)
+           {
+-            cpp_error (pfile, CPP_DL_ERROR, paste_op_error_msg);
++            cpp_error (pfile, CPP_DL_ERROR, "%s", paste_op_error_msg);
+             return false;
+           }
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/crossmingw32-gcc.git/commitdiff/cc75c485c45bb4fdc61d5f20d254d2e2bf3a264d

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to