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.
This commit is contained in:
Anders Carlsson
2004-10-05 20:04:18 +00:00
committed by Anders Carlsson
parent 2118d96318
commit 9af2838a91
7 changed files with 59 additions and 2 deletions

View File

@@ -1,3 +1,11 @@
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.
2004-10-05 Matthias Clasen <mclasen@redhat.com>
* NEWS: Update