From owner-freebsd-arch Sat Jul 6 1: 1: 1 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA7BB37B401 for ; Sat, 6 Jul 2002 01:00:58 -0700 (PDT) Received: from mail-relay1.yahoo.com (mail-relay1.yahoo.com [216.145.48.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BE4D43E3B for ; Sat, 6 Jul 2002 01:00:58 -0700 (PDT) (envelope-from DougB@FreeBSD.org) Received: from FreeBSD.org (12-234-90-219.client.attbi.com [12.234.90.219]) by mail-relay1.yahoo.com (Postfix) with ESMTP id 04B468B5D6; Sat, 6 Jul 2002 01:00:38 -0700 (PDT) Message-ID: <3D26A3A5.55EEE143@FreeBSD.org> Date: Sat, 06 Jul 2002 01:00:37 -0700 From: Doug Barton Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.79 [en] (X11; U; FreeBSD 4.6-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Johan Karlsson Cc: arch@FreeBSD.ORG Subject: Re: importing readlink(1) from OpenBSD References: <20020704194314.A52250@numeri.campus.luth.se> <20020704234920.D52250@numeri.campus.luth.se> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Johan Karlsson wrote: > > On Thu, Jul 04, 2002 at 19:43 (+0200) +0000, Johan Karlsson wrote: > > I would like to import readlink(1) from OpenBSD into > > usr.bin. > > Another option is to teach stat(1) how to double as readlink(1) > (suggested by wollman). > > The attached patch does that (it does not implement -f since > realpath(1) does that). > > Is that a better option? FWIW, the current maintainer of stat(1) at netbsd (where I imported our code from) has indicated that he's very interested in any work we do. You might want to run this by him first both to share the wealth, and also to help keep things in synch. http://cvsweb.netbsd.org/bsdweb.cgi/basesrc/usr.bin/stat/ Doug -- "We have known freedom's price. We have shown freedom's power. And in this great conflict, ... we will see freedom's victory." - George W. Bush, President of the United States State of the Union, January 28, 2002 Do YOU Yahoo!? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message