diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-01-22 19:22:55 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-01-22 19:22:55 +0000 |
commit | e96f6433ca9279c40000e63911c779251b03eb12 (patch) | |
tree | 35e1241633e104306dcf99e8b09b10fc817c4faf /toolchain/gcc | |
parent | 3968d231ff4ed802ceded09800687bf96d0a30d2 (diff) | |
download | buildroot-novena-e96f6433ca9279c40000e63911c779251b03eb12.tar.gz buildroot-novena-e96f6433ca9279c40000e63911c779251b03eb12.zip |
- remove accidentally checked in debugging cruft
Diffstat (limited to 'toolchain/gcc')
-rw-r--r-- | toolchain/gcc/4.2/900-gengtype-verbose-error.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/toolchain/gcc/4.2/900-gengtype-verbose-error.patch b/toolchain/gcc/4.2/900-gengtype-verbose-error.patch deleted file mode 100644 index 119c00b9a..000000000 --- a/toolchain/gcc/4.2/900-gengtype-verbose-error.patch +++ /dev/null @@ -1,27 +0,0 @@ -Index: gcc-4.2/gcc/gengtype-lex.l -=================================================================== ---- gcc-4.2/gcc/gengtype-lex.l (revision 121000) -+++ gcc-4.2/gcc/gengtype-lex.l (working copy) -@@ -535,13 +535,19 @@ - macro_input (char *buffer, unsigned size) - { - unsigned result; -+ int old_errno; - - result = fread (buffer, 1, size, yyin); -+ old_errno = errno; - if (result) - /*NOP*/; -- else if (ferror (yyin)) -- YY_FATAL_ERROR ("read of source file failed"); -- else if (macro_expns) -+ else if (ferror (yyin)) { -+ char *err_msg; -+ err_msg = xasprintf ("read of source file '%s:%d' failed", -+ lexer_line.file, -+ lexer_line.line); -+ YY_FATAL_ERROR (err_msg); -+ } else if (macro_expns) - { - const char *expn; - unsigned len; |