Add check for if argc is 0.
authorAnders Carlsson <andersca@gnome.org>
Tue, 5 Oct 2004 20:04:18 +0000 (20:04 +0000)
committerAnders Carlsson <andersca@src.gnome.org>
Tue, 5 Oct 2004 20:04:18 +0000 (20:04 +0000)
commit9af2838a91fdbb84549622652d25ec557278c6c5
tree0e7e2fcdf8d627e646c14618e80864b4ce3d24b7
parent2118d96318c2cadce565509f62d90a8cf229a3a1
Add check for if argc is 0.

2004-10-05  Anders Carlsson  <andersca@gnome.org>

* glib/goption.c: (g_option_context_parse):
Add check for if argc is 0.

* tests/option-test.c: (empty_test3), (main):
Add test case.
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/goption.c
tests/option-test.c