s/size_t/gsize/ to match prototypes.

Fri Jul 20 14:11:29 2001  Owen Taylor  <otaylor@redhat.com>

	* glib/gutf8.c glib/gunidecomp.c: s/size_t/gsize/ to match
	prototypes.
This commit is contained in:
Owen Taylor 2001-07-20 18:12:10 +00:00 committed by Owen Taylor
parent 847d8e9212
commit 6d7ee81303
10 changed files with 120 additions and 14 deletions

View File

@ -1,3 +1,17 @@
Fri Jul 20 14:11:29 2001 Owen Taylor <otaylor@redhat.com>
* glib/gutf8.c glib/gunidecomp.c: s/size_t/gsize/ to match
prototypes.
Thu Jul 19 16:05:21 2001 Owen Taylor <otaylor@redhat.com>
* glib/gcompletion.c (g_completion_complete): Fix memory
leak and dubious list manipulation. (Found by
Ron Koerner, #53408)
* glib/gfileutils.c (get_contents_stdio): Call fclose()
on FILE * on error. (#57057)
2001-07-20 Hans Breuer <hans@breuer.org>
* glib/glib/giowin32.c : make it compile again
@ -127,7 +141,6 @@ Fri Jul 6 22:34:32 2001 Owen Taylor <otaylor@redhat.com>
* configure.in: added Basque (eu) to ALL_LINGUAS
>>>>>>> 1.757
Mon Jul 2 19:48:52 2001 Andrew Lanoix <alanoix@umich.edu>
*giowin32.c: g_source_remove()ing an socket iochannel closes

View File

@ -1,3 +1,17 @@
Fri Jul 20 14:11:29 2001 Owen Taylor <otaylor@redhat.com>
* glib/gutf8.c glib/gunidecomp.c: s/size_t/gsize/ to match
prototypes.
Thu Jul 19 16:05:21 2001 Owen Taylor <otaylor@redhat.com>
* glib/gcompletion.c (g_completion_complete): Fix memory
leak and dubious list manipulation. (Found by
Ron Koerner, #53408)
* glib/gfileutils.c (get_contents_stdio): Call fclose()
on FILE * on error. (#57057)
2001-07-20 Hans Breuer <hans@breuer.org>
* glib/glib/giowin32.c : make it compile again
@ -127,7 +141,6 @@ Fri Jul 6 22:34:32 2001 Owen Taylor <otaylor@redhat.com>
* configure.in: added Basque (eu) to ALL_LINGUAS
>>>>>>> 1.757
Mon Jul 2 19:48:52 2001 Andrew Lanoix <alanoix@umich.edu>
*giowin32.c: g_source_remove()ing an socket iochannel closes

View File

@ -1,3 +1,17 @@
Fri Jul 20 14:11:29 2001 Owen Taylor <otaylor@redhat.com>
* glib/gutf8.c glib/gunidecomp.c: s/size_t/gsize/ to match
prototypes.
Thu Jul 19 16:05:21 2001 Owen Taylor <otaylor@redhat.com>
* glib/gcompletion.c (g_completion_complete): Fix memory
leak and dubious list manipulation. (Found by
Ron Koerner, #53408)
* glib/gfileutils.c (get_contents_stdio): Call fclose()
on FILE * on error. (#57057)
2001-07-20 Hans Breuer <hans@breuer.org>
* glib/glib/giowin32.c : make it compile again
@ -127,7 +141,6 @@ Fri Jul 6 22:34:32 2001 Owen Taylor <otaylor@redhat.com>
* configure.in: added Basque (eu) to ALL_LINGUAS
>>>>>>> 1.757
Mon Jul 2 19:48:52 2001 Andrew Lanoix <alanoix@umich.edu>
*giowin32.c: g_source_remove()ing an socket iochannel closes

View File

@ -1,3 +1,17 @@
Fri Jul 20 14:11:29 2001 Owen Taylor <otaylor@redhat.com>
* glib/gutf8.c glib/gunidecomp.c: s/size_t/gsize/ to match
prototypes.
Thu Jul 19 16:05:21 2001 Owen Taylor <otaylor@redhat.com>
* glib/gcompletion.c (g_completion_complete): Fix memory
leak and dubious list manipulation. (Found by
Ron Koerner, #53408)
* glib/gfileutils.c (get_contents_stdio): Call fclose()
on FILE * on error. (#57057)
2001-07-20 Hans Breuer <hans@breuer.org>
* glib/glib/giowin32.c : make it compile again
@ -127,7 +141,6 @@ Fri Jul 6 22:34:32 2001 Owen Taylor <otaylor@redhat.com>
* configure.in: added Basque (eu) to ALL_LINGUAS
>>>>>>> 1.757
Mon Jul 2 19:48:52 2001 Andrew Lanoix <alanoix@umich.edu>
*giowin32.c: g_source_remove()ing an socket iochannel closes

View File

@ -1,3 +1,17 @@
Fri Jul 20 14:11:29 2001 Owen Taylor <otaylor@redhat.com>
* glib/gutf8.c glib/gunidecomp.c: s/size_t/gsize/ to match
prototypes.
Thu Jul 19 16:05:21 2001 Owen Taylor <otaylor@redhat.com>
* glib/gcompletion.c (g_completion_complete): Fix memory
leak and dubious list manipulation. (Found by
Ron Koerner, #53408)
* glib/gfileutils.c (get_contents_stdio): Call fclose()
on FILE * on error. (#57057)
2001-07-20 Hans Breuer <hans@breuer.org>
* glib/glib/giowin32.c : make it compile again
@ -127,7 +141,6 @@ Fri Jul 6 22:34:32 2001 Owen Taylor <otaylor@redhat.com>
* configure.in: added Basque (eu) to ALL_LINGUAS
>>>>>>> 1.757
Mon Jul 2 19:48:52 2001 Andrew Lanoix <alanoix@umich.edu>
*giowin32.c: g_source_remove()ing an socket iochannel closes

View File

@ -1,3 +1,17 @@
Fri Jul 20 14:11:29 2001 Owen Taylor <otaylor@redhat.com>
* glib/gutf8.c glib/gunidecomp.c: s/size_t/gsize/ to match
prototypes.
Thu Jul 19 16:05:21 2001 Owen Taylor <otaylor@redhat.com>
* glib/gcompletion.c (g_completion_complete): Fix memory
leak and dubious list manipulation. (Found by
Ron Koerner, #53408)
* glib/gfileutils.c (get_contents_stdio): Call fclose()
on FILE * on error. (#57057)
2001-07-20 Hans Breuer <hans@breuer.org>
* glib/glib/giowin32.c : make it compile again
@ -127,7 +141,6 @@ Fri Jul 6 22:34:32 2001 Owen Taylor <otaylor@redhat.com>
* configure.in: added Basque (eu) to ALL_LINGUAS
>>>>>>> 1.757
Mon Jul 2 19:48:52 2001 Andrew Lanoix <alanoix@umich.edu>
*giowin32.c: g_source_remove()ing an socket iochannel closes

View File

@ -1,3 +1,17 @@
Fri Jul 20 14:11:29 2001 Owen Taylor <otaylor@redhat.com>
* glib/gutf8.c glib/gunidecomp.c: s/size_t/gsize/ to match
prototypes.
Thu Jul 19 16:05:21 2001 Owen Taylor <otaylor@redhat.com>
* glib/gcompletion.c (g_completion_complete): Fix memory
leak and dubious list manipulation. (Found by
Ron Koerner, #53408)
* glib/gfileutils.c (get_contents_stdio): Call fclose()
on FILE * on error. (#57057)
2001-07-20 Hans Breuer <hans@breuer.org>
* glib/glib/giowin32.c : make it compile again
@ -127,7 +141,6 @@ Fri Jul 6 22:34:32 2001 Owen Taylor <otaylor@redhat.com>
* configure.in: added Basque (eu) to ALL_LINGUAS
>>>>>>> 1.757
Mon Jul 2 19:48:52 2001 Andrew Lanoix <alanoix@umich.edu>
*giowin32.c: g_source_remove()ing an socket iochannel closes

View File

@ -1,3 +1,17 @@
Fri Jul 20 14:11:29 2001 Owen Taylor <otaylor@redhat.com>
* glib/gutf8.c glib/gunidecomp.c: s/size_t/gsize/ to match
prototypes.
Thu Jul 19 16:05:21 2001 Owen Taylor <otaylor@redhat.com>
* glib/gcompletion.c (g_completion_complete): Fix memory
leak and dubious list manipulation. (Found by
Ron Koerner, #53408)
* glib/gfileutils.c (get_contents_stdio): Call fclose()
on FILE * on error. (#57057)
2001-07-20 Hans Breuer <hans@breuer.org>
* glib/glib/giowin32.c : make it compile again
@ -127,7 +141,6 @@ Fri Jul 6 22:34:32 2001 Owen Taylor <otaylor@redhat.com>
* configure.in: added Basque (eu) to ALL_LINGUAS
>>>>>>> 1.757
Mon Jul 2 19:48:52 2001 Andrew Lanoix <alanoix@umich.edu>
*giowin32.c: g_source_remove()ing an socket iochannel closes

View File

@ -41,9 +41,9 @@
/* Compute the canonical ordering of a string in-place. */
void
g_unicode_canonical_ordering (gunichar *string,
size_t len)
gsize len)
{
size_t i;
gsize i;
int swap = 1;
while (swap)
@ -56,7 +56,7 @@ g_unicode_canonical_ordering (gunichar *string,
int next = COMBINING_CLASS (string[i + 1]);
if (next != 0 && last > next)
{
size_t j;
gsize j;
/* Percolate item leftward through string. */
for (j = i; j > 0; --j)
{
@ -123,7 +123,7 @@ find_decomposition (gunichar ch,
gunichar *
g_unicode_canonical_decomposition (gunichar ch,
size_t *result_len)
gsize *result_len)
{
guchar *decomp = find_decomposition (ch, FALSE);
gunichar *r;
@ -263,7 +263,7 @@ _g_utf8_normalize_wc (const gchar *str,
gunichar wc = g_utf8_get_char (p);
guchar *decomp;
int cc;
size_t old_n_wc = n_wc;
gsize old_n_wc = n_wc;
decomp = find_decomposition (wc, do_compat);

View File

@ -328,7 +328,9 @@ g_utf8_pointer_to_offset (const gchar *str,
* Return value: @dest
**/
gchar *
g_utf8_strncpy (gchar *dest, const gchar *src, size_t n)
g_utf8_strncpy (gchar *dest,
const gchar *src,
gsize n)
{
const gchar *s = src;
while (n && *s)