From owner-cvs-all Sun Jul 22 23:43:26 2001 Delivered-To: cvs-all@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by hub.freebsd.org (Postfix) with ESMTP id D37E537B405; Sun, 22 Jul 2001 23:43:19 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.3/8.11.3) with ESMTP id f6N6h5n28515; Mon, 23 Jul 2001 08:43:05 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Assar Westerlund 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 In-Reply-To: Your message of "Sun, 22 Jul 2001 15:26:37 PDT." <200107222226.f6MMQbB26273@freefall.freebsd.org> Date: Mon, 23 Jul 2001 08:43:05 +0200 Message-ID: <28513.995870585@critter> From: Poul-Henning Kamp Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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