From owner-cvs-lib Mon Feb 6 11:30:43 1995 Return-Path: cvs-lib-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id LAA18484 for cvs-lib-outgoing; Mon, 6 Feb 1995 11:30:43 -0800 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id LAA18464 for ; Mon, 6 Feb 1995 11:30:23 -0800 Received: from sax.sax.de by irz301.inf.tu-dresden.de with SMTP (5.67b+/DEC-Ultrix/4.3) id AA16218; Mon, 6 Feb 1995 20:31:44 +0100 Received: by sax.sax.de (8.6.9/8.6.9-s1) with UUCP id UAA26636 for cvs-lib@freefall.cdrom.com; Mon, 6 Feb 1995 20:31:43 +0100 Received: by bonnie.tcd-dresden.de (8.6.8/8.6.6) id UAA17998; Mon, 6 Feb 1995 20:07:10 +0100 From: j@uriah.sax.de (J Wunsch) Message-Id: <199502061907.UAA17998@bonnie.tcd-dresden.de> Subject: Re: cvs commit: src/lib/libc/gen getcwd.c To: CVS-commiters@freefall.cdrom.com, cvs-lib@freefall.cdrom.com Date: Mon, 6 Feb 1995 20:07:09 +0100 (MET) In-Reply-To: <199502061816.KAA06179@ref.tfs.com> from "Poul-Henning Kamp" at Feb 6, 95 10:16:30 am X-Phone: +49-351-8141 137 Reply-To: joerg_wunsch@uriah.sax.de X-Mailer: ELM [version 2.4 PL23] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 859 Sender: cvs-lib-owner@freebsd.org Precedence: bulk As Poul-Henning Kamp wrote: | | > Without this feature, there's no easy way to find out the canonical | ^^^^ | With you mean obviously. :-] | > path name, except of manually tracking each single directory level in | > the returned absolute path name. | | not true: | PWD=X /bin/pwd Huh? Nope, the whole trick does only work since the shell clobbers PWD immediately, so the above won't work. Do what you want, but this hack makes us incompatible to the rest of the world. (And since there are no or only a few clean-posix-only scripts outside, it's even possible that there are some scripts relying on the former behaviour.) -- cheers, J"org work: --- no longer --- private: joerg_wunsch@uriah.sax.de Never trust an operating system you don't have sources for. ;-)