diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | main.c | 3 | ||||
-rw-r--r-- | po/de.gmo | bin | 52166 -> 52578 bytes | |||
-rw-r--r-- | po/es.gmo | bin | 51471 -> 51849 bytes | |||
-rw-r--r-- | po/fr.gmo | bin | 53311 -> 53704 bytes |
5 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2012-02-07 Arnold D. Robbins <arnold@skeeve.com> + + * main.c (main): Move init of `output_fp' to before parsing of + program so that error messages from msg.c don't dump core. + Thanks to Michael Haardt <michael@moria.de>. + 2012-01-13 Arnold D. Robbins <arnold@skeeve.com> * dfa.c [is_valid_unibtye_character]: Fix from GNU grep to @@ -304,6 +304,8 @@ main(int argc, char **argv) /* init array handling. */ array_init(); + output_fp = stdout; + /* we do error messages ourselves on invalid options */ opterr = FALSE; @@ -676,7 +678,6 @@ out: setlocale(LC_NUMERIC, ""); #endif - output_fp = stdout; interpret(code_block); if (do_profiling) { Binary files differBinary files differBinary files differ |