initialize GSlice config from G_SLICE environemtn variable. we support
authorTim Janik <timj@imendio.com>
Mon, 23 Jan 2006 15:51:06 +0000 (15:51 +0000)
committerTim Janik <timj@src.gnome.org>
Mon, 23 Jan 2006 15:51:06 +0000 (15:51 +0000)
commit75db5782889dde25bb9f0ee7d4f06db0fa7edf5b
tree5a9037271cd20e122dbdaf96fb43bb3e8da32b33
parente511719c337df5e0647e0c8736a5a77a2b59bf71
initialize GSlice config from G_SLICE environemtn variable. we support

Mon Jan 23 16:46:20 2006  Tim Janik  <timj@imendio.com>

        * glib/gslice.c (slice_config_init): initialize GSlice config from
        G_SLICE environemtn variable. we support G_SLICE=always-malloc
        currently, which forces all g_slice_*() allocations to use the system
        malloc instead.

        * glib/gutils.c:
        g_parse_debug_string(): added a note about not using g_malloc() here.
        _g_getenv_nomalloc(): getenv() variant that doesn't use g_malloc or
        g_slice. contains only guesswork in the WIN32 branch.
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
glib/gslice.c
glib/gutils.c
glib/gutils.h