Re: glib g_malloc() and ram.
- From: Sven Neumann <sven gimp org>
- To: monkeyiq <monkeyiq dingoblue net au>
- Cc: gtk-list gnome org
- Subject: Re: glib g_malloc() and ram.
- Date: 02 Jan 2001 13:55:01 +0100
Hi,
monkeyiq <monkeyiq dingoblue net au> writes:
> I am converting a bunch of tools to a shared library, to make a long
> story short I looked at
> glib to see what it does when malloc() fails in the library, it seems
> from tracing g_malloc()
> that it calls g_logv() through g_error() at line 179 of gmem.c in
> glib-1.2.8.
>
> >From what I can see this only reports the error, and then glib assumes
> that the allocation
> was ok...
No, g_error() exits the application after spitting out it's error message.
Salut, Sven
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]