mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-12 05:39:21 +01:00
tests/patterntest.c (test_compilation) A couple of 64-bit printf format
Tue Jun 11 17:03:39 2002 Owen Taylor <otaylor@redhat.com> * tests/patterntest.c (test_compilation) * glib/gmem.c (profiler_try_realloc): A couple of 64-bit printf format fix from George Lebl. * glib/gconvert.c (open_converter): Fix gsize/gint mixup for g_iconv() arguments.
This commit is contained in:
parent
f9ec83b2fa
commit
36adc08bfd
@ -1,3 +1,12 @@
|
||||
Tue Jun 11 17:03:39 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* tests/patterntest.c (test_compilation)
|
||||
* glib/gmem.c (profiler_try_realloc): A couple
|
||||
of 64-bit printf format fix from George Lebl.
|
||||
|
||||
* glib/gconvert.c (open_converter): Fix gsize/gint
|
||||
mixup for g_iconv() arguments.
|
||||
|
||||
2002-06-03 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* glib/gwin32.c (g_win32_get_package_installation_directory):
|
||||
|
@ -1,3 +1,12 @@
|
||||
Tue Jun 11 17:03:39 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* tests/patterntest.c (test_compilation)
|
||||
* glib/gmem.c (profiler_try_realloc): A couple
|
||||
of 64-bit printf format fix from George Lebl.
|
||||
|
||||
* glib/gconvert.c (open_converter): Fix gsize/gint
|
||||
mixup for g_iconv() arguments.
|
||||
|
||||
2002-06-03 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* glib/gwin32.c (g_win32_get_package_installation_directory):
|
||||
|
@ -1,3 +1,12 @@
|
||||
Tue Jun 11 17:03:39 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* tests/patterntest.c (test_compilation)
|
||||
* glib/gmem.c (profiler_try_realloc): A couple
|
||||
of 64-bit printf format fix from George Lebl.
|
||||
|
||||
* glib/gconvert.c (open_converter): Fix gsize/gint
|
||||
mixup for g_iconv() arguments.
|
||||
|
||||
2002-06-03 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* glib/gwin32.c (g_win32_get_package_installation_directory):
|
||||
|
@ -1,3 +1,12 @@
|
||||
Tue Jun 11 17:03:39 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* tests/patterntest.c (test_compilation)
|
||||
* glib/gmem.c (profiler_try_realloc): A couple
|
||||
of 64-bit printf format fix from George Lebl.
|
||||
|
||||
* glib/gconvert.c (open_converter): Fix gsize/gint
|
||||
mixup for g_iconv() arguments.
|
||||
|
||||
2002-06-03 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* glib/gwin32.c (g_win32_get_package_installation_directory):
|
||||
|
@ -1,3 +1,12 @@
|
||||
Tue Jun 11 17:03:39 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* tests/patterntest.c (test_compilation)
|
||||
* glib/gmem.c (profiler_try_realloc): A couple
|
||||
of 64-bit printf format fix from George Lebl.
|
||||
|
||||
* glib/gconvert.c (open_converter): Fix gsize/gint
|
||||
mixup for g_iconv() arguments.
|
||||
|
||||
2002-06-03 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* glib/gwin32.c (g_win32_get_package_installation_directory):
|
||||
|
@ -1,3 +1,12 @@
|
||||
Tue Jun 11 17:03:39 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* tests/patterntest.c (test_compilation)
|
||||
* glib/gmem.c (profiler_try_realloc): A couple
|
||||
of 64-bit printf format fix from George Lebl.
|
||||
|
||||
* glib/gconvert.c (open_converter): Fix gsize/gint
|
||||
mixup for g_iconv() arguments.
|
||||
|
||||
2002-06-03 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* glib/gwin32.c (g_win32_get_package_installation_directory):
|
||||
|
@ -1,3 +1,12 @@
|
||||
Tue Jun 11 17:03:39 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* tests/patterntest.c (test_compilation)
|
||||
* glib/gmem.c (profiler_try_realloc): A couple
|
||||
of 64-bit printf format fix from George Lebl.
|
||||
|
||||
* glib/gconvert.c (open_converter): Fix gsize/gint
|
||||
mixup for g_iconv() arguments.
|
||||
|
||||
2002-06-03 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* glib/gwin32.c (g_win32_get_package_installation_directory):
|
||||
|
@ -358,9 +358,9 @@ open_converter (const gchar *to_codeset,
|
||||
* NULL for anything but inbuf; work around that. (NULL outbuf
|
||||
* or NULL *outbuf is allowed by Unix98.)
|
||||
*/
|
||||
gint inbytes_left = 0;
|
||||
gsize inbytes_left = 0;
|
||||
gchar *outbuf = NULL;
|
||||
gint outbytes_left = 0;
|
||||
gsize outbytes_left = 0;
|
||||
|
||||
cd = bucket->cd;
|
||||
bucket->used = TRUE;
|
||||
|
@ -541,7 +541,7 @@ profiler_try_realloc (gpointer mem,
|
||||
|
||||
if (mem && p[0]) /* free count */
|
||||
{
|
||||
g_warning ("realloc(%p, %u): memory has been freed %lu times already", p + 2, n_bytes, p[0]);
|
||||
g_warning ("realloc(%p, %lu): memory has been freed %lu times already", p + 2, (gulong)n_bytes, p[0]);
|
||||
profiler_log (PROFILER_ALLOC | PROFILER_RELOC, n_bytes, FALSE);
|
||||
|
||||
return NULL;
|
||||
|
@ -105,7 +105,7 @@ test_compilation (gchar *src,
|
||||
{
|
||||
g_print ("failed \t(pattern_length: %d, expected %d)\n",
|
||||
spec->pattern_length,
|
||||
strlen (spec->pattern));
|
||||
(gint)strlen (spec->pattern));
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user