]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
msgcmp: Display all errors, don't stop prematurely.
authorBruno Haible <bruno@clisp.org>
Tue, 12 Jun 2001 12:54:44 +0000 (12:54 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 12 Jun 2001 12:54:44 +0000 (12:54 +0000)
src/ChangeLog
src/msgcmp.c

index 0db91f418caca383b904e9af91f988f3b95ef05c..c2c2cf79f2cf307cbcaf47961123e65ee0875973 100644 (file)
@@ -1,3 +1,8 @@
+2001-06-10  Bruno Haible  <haible@clisp.cons.org>
+
+       * msgcmp.c (main): Set gram_max_allowed_errors to UINT_MAX, as in
+       msgmerge.c.
+
 2001-06-10  Bruno Haible  <haible@clisp.cons.org>
 
        * message.c (message_alloc): Cast xmalloc return value.
index 1efebb6ba690eabc8000dd4e8498df566a8bcb9b..673c170201ab2e38a219d54dcb2bc9cfc16cc14e 100644 (file)
@@ -21,6 +21,7 @@
 #endif
 
 #include <getopt.h>
+#include <limits.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <locale.h>
@@ -82,6 +83,7 @@ main (argc, argv)
   /* Set program name for messages.  */
   set_program_name (argv[0]);
   error_print_progname = maybe_print_progname;
+  gram_max_allowed_errors = UINT_MAX;
 
 #ifdef HAVE_SETLOCALE
   /* Set locale via LC_ALL.  */