[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Gentoo 1.4 and Smalltalk 2.0i

From: Markus Fritsche
Subject: Re: [Help-smalltalk] Gentoo 1.4 and Smalltalk 2.0i
Date: Mon, 3 Feb 2003 09:49:25 +0100 (MET)

> > #6  _gst_mem_free (h=0x80a2700, mem=0x0) at alloc.c:356
> > #7  0x0806e2c4 in free (block=0x0) at alloc.c:756
> > #8  0x40040b29 in setlocale () from /lib/

> If it is a bug, it does not look like I can do much about this.  Well, I
> will add a check to alloc.c for freeing a NULL pointer and do nothing in
> that case.  Does anybody know if such freeing is considered legal by ISO
> C?

According to,
it is legal (ANSI C). I have to admit that gentoo 1.4 is a somewhat "beta"
environment, having gcc-3.2 installed.

> You can also try it out manually: near line 356 of alloc.c, at the
> beginning of _gst_mem_free, add this line

>    if (!mem) return;

I'll do this when I'm at home.

Regards, Markus


+++ GMX - Mail, Messaging & more +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]