From: Bruno Haible Date: Wed, 21 Feb 2001 12:48:46 +0000 (+0000) Subject: Fix getopt_long() argument. X-Git-Tag: v0.10.36~145 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf91799e13883b59f134a1a6477125efb73b0c89;p=thirdparty%2Fgettext.git Fix getopt_long() argument. --- diff --git a/src/ChangeLog b/src/ChangeLog index 7d9f4407b..7f4d64581 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2001-02-10 Bruno Haible + + * msgunfmt.c (main): Accept -e and -E options. + 2001-02-04 Bruno Haible * msgfmt.c (main): Open the output file in binary mode. diff --git a/src/msgunfmt.c b/src/msgunfmt.c index 04064d8a1..89ce45033 100644 --- a/src/msgunfmt.c +++ b/src/msgunfmt.c @@ -110,7 +110,7 @@ main (argc, argv) bindtextdomain (PACKAGE, LOCALEDIR); textdomain (PACKAGE); - while ((optchar = getopt_long (argc, argv, "hio:Vw:", long_options, NULL)) + while ((optchar = getopt_long (argc, argv, "eEhio:Vw:", long_options, NULL)) != EOF) switch (optchar) {