www.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://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
Date: | Tue, 13 Jul 2004 21:06:08 +0000 (GMT) |
From: | Vinay Kumar <kvinay AT denver DOT india DOT mentorg DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | symboilc link does not expand if followed by /.. |
Message-ID: | <Pine.LNX.4.10.10407132056550.604-100000@denver.india.mentorg.com> |
MIME-Version: | 1.0 |
Hi all, I found a problem with symbolic link expansion in cygwin. Symbolic link does not expand properly if it is followed by /.. . To see it at your place please do the following. cd /tmp mkdir dir1 mkdir dir2 touch dir1/1.c cd dir2 ln -s ../dir1 symlink if we do ls symlink it gives 1.c as expected. But if we do ls symlink/.. then it list contents of present directory. @/tmp/dir2 $ ls symlink 1.c @/tmp/dir2 $ ls symlink/.. symlink I think it should list contents of /tmp directory. Could somebody throw some light over it. regards Vinay -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |