From owner-cvs-all Sun Jul 22 21:49:49 2001 Delivered-To: cvs-all@freebsd.org Received: from assaris.sics.se (dhcp114.iss.kth.se [130.237.7.114]) by hub.freebsd.org (Postfix) with ESMTP id 12F1A37B405; Sun, 22 Jul 2001 21:49:43 -0700 (PDT) (envelope-from assar@assaris.sics.se) Received: (from assar@localhost) by assaris.sics.se (8.9.3/8.9.3) id GAA36179; Mon, 23 Jul 2001 06:49:58 +0200 (CEST) (envelope-from assar) To: Alfred Perlstein Cc: Brian Somers , 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 References: <200107230223.f6N2Nfg14201@hak.lan.Awfulhak.org> <20010722223812.L49508@sneakerz.org> From: Assar Westerlund Date: 23 Jul 2001 06:49:57 +0200 In-Reply-To: Alfred Perlstein's message of "Sun, 22 Jul 2001 22:38:12 -0500" Message-ID: <5lr8v88d1m.fsf@assaris.sics.se> Lines: 15 User-Agent: Gnus/5.070098 (Pterodactyl Gnus v0.98) Emacs/20.6 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 Alfred Perlstein writes: > I think that e*() shouldn't be encouraged, but it would be useful to > remove the N redundant copies of it that we have in our tree. Why should it be discouraged? Or rather, what she the code in the tree that already does exactly this do? > Perhaps the manpages can discourage use of it, explaining that > exiting is not coping with a problem? I think that would solve > all of our concerns as well as allow us to remove duplicated code. `Only use these functions when the only action on failure is to exit the program' ? /assar To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message