diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2020-09-05 06:15:23 -0400 |
---|---|---|
committer | Will Estes <westes575@gmail.com> | 2020-09-06 11:21:46 -0400 |
commit | 04c5b7c9209801aa1bdbf279ccdcde0d57874a55 (patch) | |
tree | b5398cbd3717df4d539bf181d84ec0dd99db250c /src | |
parent | a631f5da8d4fd60fbde7b06bcf43bc9a155c27d5 (diff) | |
download | flex-git-go.tar.gz |
remove some gcc warningsgo
Diffstat (limited to 'src')
-rw-r--r-- | src/filter.c | 2 | ||||
-rw-r--r-- | src/misc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/filter.c b/src/filter.c index a7e69ec..9a5e777 100644 --- a/src/filter.c +++ b/src/filter.c @@ -337,7 +337,7 @@ static bool is_blank_line (const char *str) */ int filter_fix_linedirs (struct filter *chain) { - char buf[512]; + char buf[4096]; const size_t readsz = sizeof buf; int lineno = 1; bool in_gen = true; /* in generated code */ @@ -341,7 +341,7 @@ void lerr_fatal (const char *msg, ...) void line_directive_out (FILE *output_file, int do_infile) { - char directive[MAXLINE], filename[MAXLINE]; + char directive[MAXLINE*2], filename[MAXLINE]; char *s1, *s2, *s3; static const char line_fmt[] = "#line %d \"%s\"\n"; |