mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-26 05:56:14 +01:00
Fix distcheck
svn path=/trunk/; revision=7932
This commit is contained in:
parent
979f3c10b9
commit
84fdf0d00e
@ -1,3 +1,8 @@
|
|||||||
|
2009-03-01 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* tests/slice-threadinit.c: Change one magazine size from 77 to 81
|
||||||
|
to make distcheck work on x86-64.
|
||||||
|
|
||||||
2009-02-27 Tor Lillqvist <tml@novell.com>
|
2009-02-27 Tor Lillqvist <tml@novell.com>
|
||||||
|
|
||||||
Bug 167569 - g_string_append_printf crashes on win32 when used
|
Bug 167569 - g_string_append_printf crashes on win32 when used
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
#define N_PAGES (101) /* number of pages to sample */
|
#define N_PAGES (101) /* number of pages to sample */
|
||||||
#define SAMPLE_SIZE (7)
|
#define SAMPLE_SIZE (7)
|
||||||
#define PAGE_SIZE (128) /* must be <= minimum GSlice alignment block */
|
#define PAGE_SIZE (128) /* must be <= minimum GSlice alignment block */
|
||||||
#define MAGAZINE_PROBES { 77, 265, 347 } /* block sizes hopefully unused by g_thread_init */
|
#define MAGAZINE_PROBES { 81, 265, 347 } /* block sizes hopefully unused by g_thread_init */
|
||||||
#define MAX_PROBE_TRIALS (1031) /* must be >= maximum magazine size */
|
#define MAX_PROBE_TRIALS (1031) /* must be >= maximum magazine size */
|
||||||
|
|
||||||
#define ALIGN(size, base) ((base) * (gsize) (((size) + (base) - 1) / (base)))
|
#define ALIGN(size, base) ((base) * (gsize) (((size) + (base) - 1) / (base)))
|
||||||
@ -130,7 +130,7 @@ main (int argc,
|
|||||||
/* release magazine probes to be retained across g_thread_init */
|
/* release magazine probes to be retained across g_thread_init */
|
||||||
for (j = 0; j < N_MAGAZINE_PROBES; j++)
|
for (j = 0; j < N_MAGAZINE_PROBES; j++)
|
||||||
g_slice_free1 (magazine_probes[j], mps[j]);
|
g_slice_free1 (magazine_probes[j], mps[j]);
|
||||||
/* mps[*] now contains pointers to releaed slices */
|
/* mps[*] now contains pointers to released slices */
|
||||||
|
|
||||||
/* initialize threading (should retain allocator state) */
|
/* initialize threading (should retain allocator state) */
|
||||||
g_thread_init (NULL);
|
g_thread_init (NULL);
|
||||||
|
Loading…
Reference in New Issue
Block a user