delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Message-Id: | <m14qzqu-007LUuC@smtp.web.de> |
From: | "Ulrich Jakobus" <u DOT jakobus AT web DOT de> |
To: | "cygwin AT sources DOT redhat DOT com" <cygwin AT sources DOT redhat DOT com> |
Cc: | "vinschen AT redhat DOT com" <vinschen AT redhat DOT com> |
Date: | Sat, 21 Apr 2001 18:02:51 +0200 |
Reply-To: | "Ulrich Jakobus" <u DOT jakobus AT web DOT de> |
X-Mailer: | PMMail 2000 Professional (2.20.2300) For Windows 2000 (5.0.2195;1) |
MIME-Version: | 1.0 |
Subject: | bash-2.05-1: "pwd" broken? |
Hello, I just upgraded from bash-2.04-7a to bash-2.05-1. The built-in command "pwd" seems to be broken now for directories starting with "/cygdrive". Using mounted directories (e.g. "/usr/local/") or also the notation "//c" seems to work. Example: bash-2.05$ cd /cygdrive/c bash-2.05$ mkdir x bash-2.05$ cd x bash-2.05$ mkdir y bash-2.05$ cd y bash-2.05$ pwd /cygdrive/c/x/y <-- correct bash-2.05$ cd ../.. bash-2.05$ pwd /cygdrive/c/x/y/../.. <-- wrong (well, formally correct) bash-2.05$ cd x/y bash-2.05$ pwd /cygdrive/c/x/y/../../x/y <-- wrong Note that /usr/bin/pwd (GNU shutils 2.0) reports the correct path (continuation from example above): bash-2.05$ /usr/bin/pwd /cygdrive/c/x/y I don't have the time unfortunately now to look at the bash source myself. I hope that just pointing out the problem might be useful already, without a specific patch. Thanks, Ulrich Jakobus -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |