Don't create the option_name twice. (#334519, Chris Wilson)

2006-03-14  Matthias Clasen  <mclasen@redhat.com>

	* glib/goption.c (parse_short_option): Don't create the
	option_name twice.  (#334519, Chris Wilson)
This commit is contained in:
Matthias Clasen 2006-03-14 15:34:54 +00:00 committed by Matthias Clasen
parent 9ee7e2e777
commit 99024c7ea7
4 changed files with 15 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2006-03-14 Matthias Clasen <mclasen@redhat.com>
* glib/goption.c (parse_short_option): Don't create the
option_name twice. (#334519, Chris Wilson)
2006-03-13 Anders Carlsson <andersca@luminoth.local>
* configure.in: Revert fix for #322476, it breaks module loading

View File

@ -1,3 +1,8 @@
2006-03-14 Matthias Clasen <mclasen@redhat.com>
* glib/goption.c (parse_short_option): Don't create the
option_name twice. (#334519, Chris Wilson)
2006-03-13 Anders Carlsson <andersca@luminoth.local>
* configure.in: Revert fix for #322476, it breaks module loading

View File

@ -1,3 +1,8 @@
2006-03-14 Matthias Clasen <mclasen@redhat.com>
* glib/goption.c (parse_short_option): Don't create the
option_name twice. (#334519, Chris Wilson)
2006-03-13 Anders Carlsson <andersca@luminoth.local>
* configure.in: Revert fix for #322476, it breaks module loading

View File

@ -928,8 +928,6 @@ parse_short_option (GOptionContext *context,
return FALSE;
}
option_name = g_strdup_printf ("-%c", group->entries[j].short_name);
if (index < *argc - 1)
{
if (!OPTIONAL_ARG (&group->entries[j]))