diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-05-07 22:31:25 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-05-07 22:31:25 -0300 |
commit | 9f7fb9c12e84f20cd108b933f1a51e216f76cd98 (patch) | |
tree | 06520d9024b40745b94f02d0d3419386e6496863 /core/flex/flex-2.5.35-hardening.patch | |
parent | 6cc893589a6bd208f2b7711f985e17df7a6df816 (diff) | |
parent | a86ff663185661ee304bb1f6d00d982102dd706d (diff) |
Merge branch 'master' of gparabola:abslibre-mips64el
Diffstat (limited to 'core/flex/flex-2.5.35-hardening.patch')
-rw-r--r-- | core/flex/flex-2.5.35-hardening.patch | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/core/flex/flex-2.5.35-hardening.patch b/core/flex/flex-2.5.35-hardening.patch deleted file mode 100644 index 7d608ea23..000000000 --- a/core/flex/flex-2.5.35-hardening.patch +++ /dev/null @@ -1,36 +0,0 @@ -diff -u flex-2.5.35/scan.c flex-2.5.35/scan.c ---- flex-2.5.35/scan.c -+++ flex-2.5.35/scan.c -@@ -2096,7 +2096,7 @@ - /* This used to be an fputs(), but since the string might contain NUL's, - * we now use fwrite(). - */ --#define ECHO fwrite( yytext, yyleng, 1, yyout ) -+#define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0) - #endif - - /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, -diff -u flex-2.5.35/flex.skl flex-2.5.35/flex.skl ---- flex-2.5.35/flex.skl -+++ flex-2.5.35/flex.skl -@@ -1075,7 +1075,7 @@ - /* This used to be an fputs(), but since the string might contain NUL's, - * we now use fwrite(). - */ --#define ECHO fwrite( yytext, yyleng, 1, yyout ) -+#define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0) - %endif - %if-c++-only C++ definition - #define ECHO LexerOutput( yytext, yyleng ) -diff -u flex-2.5.35/skel.c flex-2.5.35/skel.c ---- flex-2.5.35/skel.c -+++ flex-2.5.35/skel.c -@@ -1142,7 +1142,7 @@ - "/* This used to be an fputs(), but since the string might contain NUL's,", - " * we now use fwrite().", - " */", -- "#define ECHO fwrite( yytext, yyleng, 1, yyout )", -+ "#define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)", - "%endif", - "%if-c++-only C++ definition", - "#define ECHO LexerOutput( yytext, yyleng )", |