mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-03 22:52:09 +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>
|
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
|
* glib/gstring.c (g_string_insert_len): Handle the case where the
|
||||||
to-be-inserted string is a substring of the target string.
|
to-be-inserted string is a substring of the target string.
|
||||||
(g_string_assign): Handle "s = s;".
|
(g_string_assign): Handle "s = s;".
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
2003-11-05 Morten Welinder <terra@gnome.org>
|
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
|
* glib/gstring.c (g_string_insert_len): Handle the case where the
|
||||||
to-be-inserted string is a substring of the target string.
|
to-be-inserted string is a substring of the target string.
|
||||||
(g_string_assign): Handle "s = s;".
|
(g_string_assign): Handle "s = s;".
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
2003-11-05 Morten Welinder <terra@gnome.org>
|
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
|
* glib/gstring.c (g_string_insert_len): Handle the case where the
|
||||||
to-be-inserted string is a substring of the target string.
|
to-be-inserted string is a substring of the target string.
|
||||||
(g_string_assign): Handle "s = s;".
|
(g_string_assign): Handle "s = s;".
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
2003-11-05 Morten Welinder <terra@gnome.org>
|
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
|
* glib/gstring.c (g_string_insert_len): Handle the case where the
|
||||||
to-be-inserted string is a substring of the target string.
|
to-be-inserted string is a substring of the target string.
|
||||||
(g_string_assign): Handle "s = s;".
|
(g_string_assign): Handle "s = s;".
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
2003-11-05 Morten Welinder <terra@gnome.org>
|
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
|
* glib/gstring.c (g_string_insert_len): Handle the case where the
|
||||||
to-be-inserted string is a substring of the target string.
|
to-be-inserted string is a substring of the target string.
|
||||||
(g_string_assign): Handle "s = s;".
|
(g_string_assign): Handle "s = s;".
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
2003-11-05 Morten Welinder <terra@gnome.org>
|
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
|
* glib/gstring.c (g_string_insert_len): Handle the case where the
|
||||||
to-be-inserted string is a substring of the target string.
|
to-be-inserted string is a substring of the target string.
|
||||||
(g_string_assign): Handle "s = s;".
|
(g_string_assign): Handle "s = s;".
|
||||||
|
@ -550,7 +550,11 @@ g_ptr_array_remove_range (GPtrArray* farray,
|
|||||||
|
|
||||||
array->len -= length;
|
array->len -= length;
|
||||||
#ifdef ENABLE_GC_FRIENDLY
|
#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 */
|
#endif /* ENABLE_GC_FRIENDLY */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user