This is the mail archive of the cygwin@sourceware.cygnus.com
mailing list for the Cygwin project. See the Cygwin
home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]
problem with Win32->POSIX conversion of A:FOO
- To: cygwin@sourceware.cygnus.com
- Subject: problem with Win32->POSIX conversion of A:FOO
- From: Alexander Dupuy <dupuy@cs.columbia.edu>
- Date: Tue, 2 Mar 1999 13:32:33 -0500 (EST)
- Delivered-To: listarch-cygwin@sourceware.cygnus.com
- Delivered-To: mailing list cygwin@sourceware.cygnus.com
- Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
- Sender: cygwin-owner@sourceware.cygnus.com
CygWin applications converting a relative pathname with drive letter A:FOO
(but not A:\FOO, as that specifies an absolute path on A:) will get //AFOO
as the POSIX pathname, which is incorrect. ("cygpath -u A:FOO" to confirm
this). The correct conversion should take into account $!A, and provide an
absolute pathname (since POSIX pathnames can't support a relative pathname
to a file on another drive. I'd provide a fix for this myself, but I just
started with CYGWIN, and haven't loaded sources yet.
@alex
--
mailto:dupuy@hydraweb.com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com