]> git.pld-linux.org Git - packages/crossavr-gcc.git/commitdiff
- more fixes
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 7 Dec 2012 21:46:10 +0000 (22:46 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Fri, 7 Dec 2012 21:46:10 +0000 (22:46 +0100)
format-security.patch

index b54923329696baebc561610022c3401f353f8fd7..e7f7e3e40a11b0ca26b773714dbc03504485555f 100644 (file)
          }
  
        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;
+           }
This page took 0.091811 seconds and 4 git commands to generate.