Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jul 2001 08:43:05 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Assar Westerlund <assar@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/lib/libutil ecalloc.c emalloc.3 emalloc.c erealloc.c estrdup.c Makefile libutil.h 
Message-ID:  <28513.995870585@critter>
In-Reply-To: Your message of "Sun, 22 Jul 2001 15:26:37 PDT." <200107222226.f6MMQbB26273@freefall.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <200107222226.f6MMQbB26273@freefall.freebsd.org>, Assar Westerlund writes:
>assar       2001/07/22 15:26:37 PDT
>
>  Modified files:
>    lib/libutil          Makefile libutil.h 
>  Added files:
>    lib/libutil          ecalloc.c emalloc.3 emalloc.c erealloc.c 
>                         estrdup.c 
>  Log:
>  add ecalloc, emalloc, erealloc, estrdup - versions of the e-less
>  functions that exit instead of failing

Why not simply use:

	           char *_malloc_options = "X";

as documented in malloc(3) ?


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

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




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