From owner-freebsd-bugs Tue Jan 1 5:52: 5 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id F0E0237B428 for ; Tue, 1 Jan 2002 05:52:01 -0800 (PST) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id AAA02563; Wed, 2 Jan 2002 00:51:42 +1100 Date: Wed, 2 Jan 2002 00:51:36 +1100 (EST) From: Bruce Evans X-X-Sender: To: Peter Sanchez Cc: Sheldon Hearn , Subject: Re: bin/32807: which utility replacement in C In-Reply-To: <20011230082150.C17916@sushi.linuxforlesbians.org> Message-ID: <20020102004720.Q9900-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, 30 Dec 2001, Peter Sanchez wrote: > > On 15 Dec 2001 00:42:07 +0100, Dag-Erling Smorgrav wrote: > > > > Since you've been driving the review process, will you don an asbestos > > suit and use this one to kill the existing perl script? :-) > > LOL. Im the one being killed over here ;) > > > Note that there's a malloc() that isn't tested for failure, but it's > > hidden in a strdup(). This is in findprog(). > > > > Ciao, > > Sheldon. > > Here ya go... > > Peter > > /* > * which - a which utility for Unix > * > * SYNOPSIS: For FreeBSD-4.x and later Er, FreeBSD will most likely keep using the version that it already has. RCS file: /home/ncvs/src/usr.bin/which/which.c,v Working file: which.c head: 1.2 ... ---------------------------- revision 1.1 date: 2000/08/29 23:30:52; author: green; state: Exp; Use a C version of which(1). Submitted by: Dan Papasian Reviewed by: jhb ========================================================== Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message