diff options
author | Bruno Haible <bruno@clisp.org> | 2001-01-25 14:24:03 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2001-01-25 14:24:03 +0000 |
commit | 5c525c62afe57d29bf40124af3cb881dee69cba2 (patch) | |
tree | 211e074cbfc6dc62b0678e636d3f575b240c209c | |
parent | dc2eb530f1c96dc63c32b45b008cc871cf13e244 (diff) | |
download | external_gettext-5c525c62afe57d29bf40124af3cb881dee69cba2.zip external_gettext-5c525c62afe57d29bf40124af3cb881dee69cba2.tar.gz external_gettext-5c525c62afe57d29bf40124af3cb881dee69cba2.tar.bz2 |
Fix msgcomm core dump.
-rw-r--r-- | src/ChangeLog | 4 | ||||
-rw-r--r-- | src/msgcomm.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index d645602..22fde78 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -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 diff --git a/src/msgcomm.c b/src/msgcomm.c index 8dcc4e2..f932ac7 100644 --- a/src/msgcomm.c +++ b/src/msgcomm.c @@ -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) { |