]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Fix msgcomm core dump.
authorBruno Haible <bruno@clisp.org>
Thu, 25 Jan 2001 14:24:03 +0000 (14:24 +0000)
committerBruno Haible <bruno@clisp.org>
Thu, 25 Jan 2001 14:24:03 +0000 (14:24 +0000)
src/ChangeLog
src/msgcomm.c

index d6456022b9625e8a2f81af7a6f7e89ac662b8762..22fde785081a204e568ee9f0fac8cb12e55660bb 100644 (file)
@@ -1,3 +1,7 @@
+2001-01-20  Bruno Haible  <haible@clisp.cons.org>
+
+       * msgcomm.c (main): Options '-<' and '->' want an argument.
+
 2001-01-07  Bruno Haible  <haible@clisp.cons.org>
 
        * gettext.c: Renamed from gettextp.c. Use included libintl if TESTS
index 8dcc4e2cc9268f71203c8e4bb88e49c8e5b475f4..f932ac7e4bde61da9b9830873cedfa1403596c9a 100644 (file)
@@ -163,7 +163,7 @@ main (argc, argv)
   default_domain = MESSAGE_DOMAIN_DEFAULT;
 
   while ((optchar = getopt_long (argc, argv,
-                                "<>ac::Cd:D:eEf:Fhijk::l:L:m::M::no:p:sTuVw:x:",
+                                "<:>:ac::Cd:D:eEf:Fhijk::l:L:m::M::no:p:sTuVw:x:",
                                 long_options, NULL)) != EOF)
     switch (optchar)
       {