Fix distcheck

svn path=/trunk/; revision=7932
This commit is contained in:
Matthias Clasen 2009-03-01 16:46:45 +00:00
parent 979f3c10b9
commit 84fdf0d00e
2 changed files with 7 additions and 2 deletions

View File

@ -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>
Bug 167569 - g_string_append_printf crashes on win32 when used

View File

@ -23,7 +23,7 @@
#define N_PAGES (101) /* number of pages to sample */
#define SAMPLE_SIZE (7)
#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 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 */
for (j = 0; j < N_MAGAZINE_PROBES; 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) */
g_thread_init (NULL);