mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-07 01:43:41 +02:00
applied patch from Soeren Sandmann <sandmann@daimi.au.dk>, to force mem
Fri Sep 17 10:24:45 1999 Tim Janik <timj@gtk.org> * gmem.c (g_mem_chunk_compute_size) (g_mem_chunk_new): applied patch from Soeren Sandmann <sandmann@daimi.au.dk>, to force mem chunk's area sizes to be a multitiple of atom_size, and to eliminate the MAX_MEM_AREA restriction of 65536 bytes. we also catch cases where users pass an area size < atom size with a return_if_fail statement now (which is ok, because previously this lead to memory corruption anyways).
This commit is contained in:
@@ -1,3 +1,12 @@
|
||||
Fri Sep 17 10:24:45 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gmem.c (g_mem_chunk_compute_size) (g_mem_chunk_new): applied patch
|
||||
from Soeren Sandmann <sandmann@daimi.au.dk>, to force mem chunk's area
|
||||
sizes to be a multitiple of atom_size, and to eliminate the MAX_MEM_AREA
|
||||
restriction of 65536 bytes. we also catch cases where users pass an area
|
||||
size < atom size with a return_if_fail statement now (which is ok,
|
||||
because previously this lead to memory corruption anyways).
|
||||
|
||||
Thu Sep 16 13:19:54 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* glib.h (g_trash_stack_pop): add explicit (GTrashStack*) cast for NULL
|
||||
|
Reference in New Issue
Block a user