This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Mixing / and \ path separators


> From: Christopher Faylor [mailto:cgf-cygwin at cygwin dot com]
> 
> On Wed, Mar 12, 2003 at 11:08:27PM +0100, Anton Ertl wrote:
> >
> >If so, how should I deal with path names where parts of the path come
> >from ordinary windows users?
> 
> Either tell your Windows users to use forward slashes, tell them to
> specify the path name using windows specs like f:\cygwin\foo\bar,
> or change the backslashes to slashes.

Wouldn't cygwin_conv_to_posix_path() and its relatives be a more
general solution?

-- 
Ross Smith ...................... Pharos Systems, Auckland, New Zealand

        "It's never too soon to start planning, and, in fact,
                it's usually too late." -- Chad Orzel

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]