mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-01 23:26:16 +01:00
Make it compile. (#119337, self.)
2003-11-05 Morten Welinder <terra@gnome.org> * glib/garray.c (g_ptr_array_remove_range): Make it compile. (#119337, self.)
This commit is contained in:
parent
3b2f74d188
commit
36715ffb1e
@ -1,5 +1,8 @@
|
||||
2003-11-05 Morten Welinder <terra@gnome.org>
|
||||
|
||||
* glib/garray.c (g_ptr_array_remove_range): Make it compile.
|
||||
(#119337, self.)
|
||||
|
||||
* glib/gstring.c (g_string_insert_len): Handle the case where the
|
||||
to-be-inserted string is a substring of the target string.
|
||||
(g_string_assign): Handle "s = s;".
|
||||
|
@ -1,5 +1,8 @@
|
||||
2003-11-05 Morten Welinder <terra@gnome.org>
|
||||
|
||||
* glib/garray.c (g_ptr_array_remove_range): Make it compile.
|
||||
(#119337, self.)
|
||||
|
||||
* glib/gstring.c (g_string_insert_len): Handle the case where the
|
||||
to-be-inserted string is a substring of the target string.
|
||||
(g_string_assign): Handle "s = s;".
|
||||
|
@ -1,5 +1,8 @@
|
||||
2003-11-05 Morten Welinder <terra@gnome.org>
|
||||
|
||||
* glib/garray.c (g_ptr_array_remove_range): Make it compile.
|
||||
(#119337, self.)
|
||||
|
||||
* glib/gstring.c (g_string_insert_len): Handle the case where the
|
||||
to-be-inserted string is a substring of the target string.
|
||||
(g_string_assign): Handle "s = s;".
|
||||
|
@ -1,5 +1,8 @@
|
||||
2003-11-05 Morten Welinder <terra@gnome.org>
|
||||
|
||||
* glib/garray.c (g_ptr_array_remove_range): Make it compile.
|
||||
(#119337, self.)
|
||||
|
||||
* glib/gstring.c (g_string_insert_len): Handle the case where the
|
||||
to-be-inserted string is a substring of the target string.
|
||||
(g_string_assign): Handle "s = s;".
|
||||
|
@ -1,5 +1,8 @@
|
||||
2003-11-05 Morten Welinder <terra@gnome.org>
|
||||
|
||||
* glib/garray.c (g_ptr_array_remove_range): Make it compile.
|
||||
(#119337, self.)
|
||||
|
||||
* glib/gstring.c (g_string_insert_len): Handle the case where the
|
||||
to-be-inserted string is a substring of the target string.
|
||||
(g_string_assign): Handle "s = s;".
|
||||
|
@ -1,5 +1,8 @@
|
||||
2003-11-05 Morten Welinder <terra@gnome.org>
|
||||
|
||||
* glib/garray.c (g_ptr_array_remove_range): Make it compile.
|
||||
(#119337, self.)
|
||||
|
||||
* glib/gstring.c (g_string_insert_len): Handle the case where the
|
||||
to-be-inserted string is a substring of the target string.
|
||||
(g_string_assign): Handle "s = s;".
|
||||
|
@ -550,7 +550,11 @@ g_ptr_array_remove_range (GPtrArray* farray,
|
||||
|
||||
array->len -= length;
|
||||
#ifdef ENABLE_GC_FRIENDLY
|
||||
g_array_elt_zero (array->pdata, array->len, length);
|
||||
{
|
||||
guint i;
|
||||
for (i = 0; i < length; i++)
|
||||
array->pdata[array->len + i] = NULL;
|
||||
}
|
||||
#endif /* ENABLE_GC_FRIENDLY */
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user