Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Apr 2001 07:34:35 -0700 (MST)
From:      "Chad R. Larson" <chad@DCFinc.com>
To:        gnb@itga.com.au (Gregory Bond)
Cc:        bc979@lafn.org, gnb@itga.com.au, stable@FreeBSD.ORG, kris@obsecurity.org
Subject:   Re: Illegal Instruction in libm - Problem solved....
Message-ID:  <200104301434.HAA27894@freeway.dcfinc.com>
In-Reply-To: <200104280139.LAA01281@lightning.itga.com.au> from Gregory Bond at "Apr 28, 1 11:39:28 am"

next in thread | previous in thread | raw e-mail | index | archive | help
As I recall, Gregory Bond wrote:
>> It may always have been a bug in FreeBSD, and still is.
> 
> No, the bug is in your code, not FreeBSD.
> 
>> The concept of being able to replace a library module with one from
>> your code is fairly common in SVR4, and SunOS.
> 
> Even if true (and the C standard makes no such promises), this is not
> what you did.  You replaced a standard library function free() with an
> int called free.  That is in no way shape or form "replacing a library
> module".  This is just plain wrong, and the fact it happened to work
> in previous versions of the FreeBSD C library is just luck.

On the other hand, it doesn't seem unreasonable that the loader
should issue a warning in that instance.

	-crl
--
Chad R. Larson (CRL15)   602-953-1392   Brother, can you paradigm?
chad@dcfinc.com         chad@larsons.org          larson1@home.com
DCF, Inc. - 14623 North 49th Place, Scottsdale, Arizona 85254-2207

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104301434.HAA27894>