1
0
mirror of https://gitlab.gnome.org/GNOME/glib.git synced 2025-07-16 15:10:23 +02:00

Make it compile. (, self.)

2003-11-05  Morten Welinder  <terra@gnome.org>

	* glib/garray.c (g_ptr_array_remove_range): Make it compile.
	(, self.)
This commit is contained in:
Morten Welinder
2003-11-05 17:15:24 +00:00
committed by Morten Welinder
parent 3b2f74d188
commit 36715ffb1e
7 changed files with 23 additions and 1 deletions

@@ -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 */
}