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 |
Message-ID: | <428897C6.5050508@byu.net> |
Date: | Mon, 16 May 2005 06:53:26 -0600 |
From: | Eric Blake <ebb9 AT byu DOT net> |
User-Agent: | Mozilla Thunderbird 1.0.2 (Windows/20050317) |
MIME-Version: | 1.0 |
To: | Stefan Schuerger <stefan DOT schuerger AT gmx DOT de> |
CC: | cygwin AT cygwin DOT com |
Subject: | Re: Path problems with trailing dot |
References: | <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAA9qlOdnHM3EGvlIpcXSWiJ8KAAAAQAAAAB4H/ACBmmUuuyUsddSpBHAEAAAAA AT gmx DOT de> |
In-Reply-To: | <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAA9qlOdnHM3EGvlIpcXSWiJ8KAAAAQAAAAB4H/ACBmmUuuyUsddSpBHAEAAAAA@gmx.de> |
X-IsSubscribed: | yes |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Stefan Schuerger on 5/15/2005 4:41 PM: > bash: test./test2: No such file or directory > > The trailing dot disappears and cannot be used in paths. This seems to > be a DOS legacy of either NTFS or Windows. Yes - Windows strips all trailing spaces and dots. So `mkdir test.' and `mkdir test' are identical in behavior in creating `test/', unless you use managed mounts (where cygwin does some magic to overcome the Windows limitations). It looks like the cygwin path-normalization code is not stripping trailing dots/spaces from non-final directory components in a non-managed path name. Care to contribute a patch? http://cygwin.com/acronyms/#SHTDI - -- Life is short - so eat dessert first! Eric Blake ebb9 AT byu DOT net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCiJfG84KuGfSFAYARAlwQAKCeoasW2b/ZIYbybymLf67SHUgXYQCfUJGu VwVhmVWR/e2W6+Io/75SjWE= =+App -----END PGP SIGNATURE----- -- 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 |