This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Mixing / and \ path separators
- From: Anton Ertl <anton at a0 dot complang dot tuwien dot ac dot at>
- To: cygwin at cygwin dot com
- Date: Wed, 12 Mar 2003 23:08:27 +0100 (MET)
- Subject: Mixing / and \ path separators
- Reply-to: anton at mips dot complang dot tuwien dot ac dot at
Cygwin 1.3.18(0.69/3/2) handles filenames like
/usr/local/share/gforth/0.5.9-20030201\kernl32l.fi
all right, where the "\" is meant as a path separator. Cygwin
1.3.19(0.71/3/2) and 1.3.20 reportedly do not like such names (file
not found). Is this intentional and will it stay that way? If so,
how should I deal with path names where parts of the path come from
ordinary windows users?
Background: We use Cygwin for the Windows port of Gforth
(http://www.complang.tuwien.ac.at/forth/gforth/). The Windows port
currently produces mixes like the above by default, and we could
change that; but I am worried about paths coming from the users (e.g.,
through the GFORTHPATH environment variable), which may use either
way.
- anton
--
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/