Set prgname to <unknown> if argc and argv are NULL.

2004-08-30  Anders Carlsson  <andersca@gnome.org>

	* glib/goption.c: (g_option_context_parse):
	Set prgname to <unknown> if argc and argv are NULL.

	* tests/option-test.c: (empty_test1), (main):
	Add test case for that.
This commit is contained in:
Anders Carlsson
2004-08-30 20:40:52 +00:00
committed by Anders Carlsson
parent fd92ac8f52
commit 11957cabec
7 changed files with 66 additions and 2 deletions

View File

@@ -1,3 +1,11 @@
2004-08-30 Anders Carlsson <andersca@gnome.org>
* glib/goption.c: (g_option_context_parse):
Set prgname to <unknown> if argc and argv are NULL.
* tests/option-test.c: (empty_test1), (main):
Add test case for that.
Sun Aug 29 23:58:38 2004 Matthias Clasen <maclas@gmx.de>
* glib/ghash.c (g_hash_table_lookup): Point to