This is the mail archive of the cygwin@sourceware.cygnus.com
mailing list for the Cygwin project. See the Cygwin
home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]
RE: cfree
- To: <gnu-win32@cygnus.com>
- Subject: RE: cfree
- From: "Christian Jullien" <Eligis@wanadoo.fr>
- Date: Wed, 24 Mar 1999 20:28:27 +0100
- Delivered-To: listarch-cygwin@sourceware.cygnus.com
- Delivered-To: mailing list cygwin@sourceware.cygnus.com
- Importance: Normal
- Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
- Sender: cygwin-owner@sourceware.cygnus.com
At 03:15 PM 3/24/99 +0100, Levon Saldamli wrote:
>I have trouble linking with some files that use cfree. Does anybody
>recognize this problem? It is in the include file stdlib.h but linking
>fails.
cfree is (in BSD style) genrally written as a macro
#define cfree( x ) (free(x),x=NULL)
That way, if you try to dereference this free pointer you'll get a core
dump.
Eligis: Christian Jullien (OOP consultant)
10, RUE REJANE - 95120 ERMONT (France)
Eligis@wanadoo.fr - +33 130.72.98.20
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com