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 |
Reply-To: | <jqj AT darkwing DOT uoregon DOT edu> |
From: | "JQ Johnson" <jqj AT darkwing DOT uoregon DOT edu> |
To: | <cygwin AT cygwin DOT com> |
Subject: | symlinks in bash 2.05 |
Date: | Mon, 30 Apr 2001 09:58:53 -0700 |
Message-ID: | <NEBBIAJPCHANOPNMLDEBEECECLAA.jqj@darkwing.uoregon.edu> |
MIME-Version: | 1.0 |
X-Priority: | 3 (Normal) |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) |
Importance: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4133.2400 |
I installed cygwin 1.3.1 with bash-2.05-3 today, and noticed a minor infelicity in the handling of symlinks. With the new symlink support, if I cd to a symlink, then pwd only displays the logical cwd. "pwd -P" (or, more importantly, set -o physical) displays a null string after connecting to a symlink. /bin/pwd continues to work correctly. To reproduce: create a symlink or a Windows .lnk to some absolute pathname, e.g. /etc. For example: 534-$ ln -s /etc foo 535-$ pwd /cygdrive/c/users/jqj 536-$ cd foo /cygdrive/c/users/jqj/foo 537-$ /bin/pwd /etc 538-$ pwd -L /cygdrive/c/users/jqj/foo 539-$ pwd -P 540-$ -- 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 |