mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Properly store changes for arrays. (#308528, Roger Leigh)
2005-06-22 Matthias Clasen <mclasen@redhat.com> * glib/goption.c (parse_arg): Properly store changes for arrays. (#308528, Roger Leigh)
This commit is contained in:
parent
0c2739405c
commit
f8411a5b97
@ -3,7 +3,9 @@
|
||||
* glib/goption.c (parse_short_option, parse_long_option):
|
||||
Pass the option name also in the NO_ARG case. (#308602,
|
||||
Masatake YAMATO)
|
||||
|
||||
(parse_arg): Properly store changes for arrays. (#308528,
|
||||
Roger Leigh)
|
||||
|
||||
2005-06-22 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* glib/gfileutils.c (g_makepath): New function. Creates a
|
||||
|
@ -3,7 +3,9 @@
|
||||
* glib/goption.c (parse_short_option, parse_long_option):
|
||||
Pass the option name also in the NO_ARG case. (#308602,
|
||||
Masatake YAMATO)
|
||||
|
||||
(parse_arg): Properly store changes for arrays. (#308528,
|
||||
Roger Leigh)
|
||||
|
||||
2005-06-22 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* glib/gfileutils.c (g_makepath): New function. Creates a
|
||||
|
@ -3,7 +3,9 @@
|
||||
* glib/goption.c (parse_short_option, parse_long_option):
|
||||
Pass the option name also in the NO_ARG case. (#308602,
|
||||
Masatake YAMATO)
|
||||
|
||||
(parse_arg): Properly store changes for arrays. (#308528,
|
||||
Roger Leigh)
|
||||
|
||||
2005-06-22 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* glib/gfileutils.c (g_makepath): New function. Creates a
|
||||
|
@ -3,7 +3,9 @@
|
||||
* glib/goption.c (parse_short_option, parse_long_option):
|
||||
Pass the option name also in the NO_ARG case. (#308602,
|
||||
Masatake YAMATO)
|
||||
|
||||
(parse_arg): Properly store changes for arrays. (#308528,
|
||||
Roger Leigh)
|
||||
|
||||
2005-06-22 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* glib/gfileutils.c (g_makepath): New function. Creates a
|
||||
|
@ -758,7 +758,7 @@ parse_arg (GOptionContext *context,
|
||||
|
||||
if (change->allocated.array.len == 0)
|
||||
{
|
||||
change->prev.array = entry->arg_data;
|
||||
change->prev.array = *(gchar ***)entry->arg_data;
|
||||
change->allocated.array.data = g_new (gchar *, 2);
|
||||
}
|
||||
else
|
||||
@ -816,7 +816,7 @@ parse_arg (GOptionContext *context,
|
||||
|
||||
if (change->allocated.array.len == 0)
|
||||
{
|
||||
change->prev.array = entry->arg_data;
|
||||
change->prev.array = *(gchar ***)entry->arg_data;
|
||||
change->allocated.array.data = g_new (gchar *, 2);
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user