This is the mail archive of the 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

On Thu, Mar 13, 2003 at 04:51:24PM -0500, Christopher Faylor wrote:
>On Fri, Mar 14, 2003 at 08:46:13AM +1300, Ross Smith wrote:
>>> 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?
>Good point.  It probably is, if that option is available.

I'm sorry.  No.  Let me take that back.

I think what is being done is that someone is typing /usr\local/bin.
cygwin_conv_to_posix_path is not the right solution here.  That would
end up creating something like /cygdrive/c/usr/local/bin which is
probably not what's intended.


Unsubscribe info:
Bug reporting:

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