From: Jan Engelhardt Date: 2010-08-23 12:14:04 +0200 Stderr needs to be initialized first, otherwise ProgError will crash when called from a check_types that does detect a size mismatch. --- src/deutex.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Index: deutex-4.4.902/src/deutex.c =================================================================== --- deutex-4.4.902.orig/src/deutex.c +++ deutex-4.4.902/src/deutex.c @@ -975,9 +975,6 @@ int main (int argc, char *argv_non_const "\t+------------------------------------+\n\n"); #endif - /* Sanity checks */ - check_types (); - /* ** default parameters */ @@ -1017,6 +1014,9 @@ int main (int argc, char *argv_non_const PrintInit(FALSE); PrintVerbosity(2); + /* Sanity checks */ + check_types(); + /* Do a second pass through argv to catch options like --help that shouldn't cause the creation of a log file. */ {