]> git.pld-linux.org Git - packages/flex.git/blobdiff - flex-sign.patch
- added gcc44,missing-prototypes,sign patches from Fedora (error or warning fixes)
[packages/flex.git] / flex-sign.patch
diff --git a/flex-sign.patch b/flex-sign.patch
new file mode 100644 (file)
index 0000000..fbee18b
--- /dev/null
@@ -0,0 +1,11 @@
+--- flex-2.5.35/gen.c-orig     2008-04-30 22:51:08.000000000 +0200
++++ flex-2.5.35/gen.c  2008-04-30 22:51:14.000000000 +0200
+@@ -1890,7 +1890,7 @@
+                       outn ("\tif ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \\");
+                       outn ("\t\t{ \\");
+                       outn ("\t\tint c = '*'; \\");
+-                      outn ("\t\tint n; \\");
++                      outn ("\t\tunsigned n; \\");
+                       outn ("\t\tfor ( n = 0; n < max_size && \\");
+                       outn ("\t\t\t     (c = getc( yyin )) != EOF && c != '\\n'; ++n ) \\");
+                       outn ("\t\t\tbuf[n] = (char) c; \\");
This page took 0.040165 seconds and 4 git commands to generate.