delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-ID: | <20020612131433.54651.qmail@web21003.mail.yahoo.com> |
Date: | Wed, 12 Jun 2002 06:14:33 -0700 (PDT) |
From: | Nicholas Wourms <nwourms AT yahoo DOT com> |
Subject: | cygwin1.dll [1.3.11(CVS)]: Interesting bug involving pwd and a non-exisitant directory |
To: | cygwin AT cygwin DOT com |
MIME-Version: | 1.0 |
Hi, My Version: CYGWIN_ME-4.90 DRAGON 1.3.11(0.53/3/2) 2002-06-12 07:54 i686 unknown *NOTE*: This was built from yesterday's sources prior to CGF's checkin of the patches which broke the current cvs tree. This is an easy bug to produce on WindowsME with Fat32: 1)Open an rxvt session (A) 2)Make a directory /usr/local/foo 3)type "cd /usr/local/foo" 4)Open another rxvt session (B) 5)In session B, type "rm -fR /usr/local/foo" 6)Close session B 7)In session A, type "cd .." and note the path presented by bash. 8)Typing "pwd" should reflect this as well. Here is what I get: root AT dragon /usr/local/foo/.. $ pwd /usr/local/foo/.. Basically, whatever directory you change into after the removal, pwd appends to the value previously reported. I can fix my PWD by issuing a cd involving the root directory (i.e. "cd /usr"). Perhaps someone on NT might want to try this to see what happens... Just thought I'd give you a heads up :-). Cheers, Nicholas __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |