Re: what if g_strdup_printf() fails?
- From: Scott Barron <sb125499 ohiou edu>
- To: gtk-app-devel-list gnome org
- Subject: Re: what if g_strdup_printf() fails?
- Date: Sun, 15 Sep 2002 10:22:32 -0400
On Sun, Sep 15, 2002 at 02:53:59PM +0200, Remco Poelstra wrote:
Hmm, the manual says about g_malloc that if allocation fails that the
application is terminated. I think I'll construct my own version of
strdup_printf(), since I've so complex cleaning to do before the
application should terminate.
Thanks for the reply,
Remco Poelstra
Ahh, right. g_error() will call abort(). Guess I glossed over that
part, thanks for pointing it out.
-Scott
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]