Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jan 2002 00:51:36 +1100 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Peter Sanchez <fut0n@linuxforlesbians.org>
Cc:        Sheldon Hearn <sheldonh@starjuice.net>, <freebsd-bugs@FreeBSD.ORG>
Subject:   Re: bin/32807: which utility replacement in C
Message-ID:  <20020102004720.Q9900-100000@gamplex.bde.org>
In-Reply-To: <20011230082150.C17916@sushi.linuxforlesbians.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <bugg@bugg.strangled.net>
    Reviewed by:	jhb
    ==========================================================

Bruce


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




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