From owner-freebsd-standards Sun Feb 3 23:31:19 2002 Delivered-To: freebsd-standards@freebsd.org Received: from espresso.q9media.com (espresso.q9media.com [216.254.138.122]) by hub.freebsd.org (Postfix) with ESMTP id CF4DB37B417 for ; Sun, 3 Feb 2002 23:31:17 -0800 (PST) Received: (from mike@localhost) by espresso.q9media.com (8.11.6/8.11.6) id g147RUm33504; Mon, 4 Feb 2002 02:27:30 -0500 (EST) (envelope-from mike) Date: Mon, 4 Feb 2002 02:27:29 -0500 From: Mike Barcroft To: "Tim J. Robbins" Cc: freebsd-standards@FreeBSD.ORG Subject: Re: pwd -L option Message-ID: <20020204022729.D6496@espresso.q9media.com> References: <20020130181638.A8510@descent.robbins.dropbear.id.au> <20020202032917.K10222@espresso.q9media.com> <20020202210237.A2326@descent.robbins.dropbear.id.au> <20020203174511.A6496@espresso.q9media.com> <20020204110944.A20748@descent.robbins.dropbear.id.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020204110944.A20748@descent.robbins.dropbear.id.au>; from tim@robbins.dropbear.id.au on Mon, Feb 04, 2002 at 11:09:44AM +1100 Organization: The FreeBSD Project Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Tim J. Robbins writes: > > This isn't quite right yet. realpath(1) should never call getopt(). > > It expects no options, so `realpath -L' should return a valid path > > ending with `/-L'. > > Conceptually pwd and realpath have something in common, but their > implementations don't. I don't agree with having realpath built in to > pwd. There's probably not much I can do about that, though. Agreed; realpath(1) should be broken out into its own source file. I'll add it to my TODO list. > Here's another attempt at a patch. Committed (with a few minor modifications), thanks! Best regards, Mike Barcroft To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message