From ce006ffa7f6985c2dbe6128d74ba6beda562743a Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Wed, 5 Jun 2002 04:01:43 +0000 Subject: * dtable.cc (handle_to_fn): Attempt to handle "raw" accesses to remote shares. * path.cc (mount_info::conv_to_win32_path): Set flags to binary when mount entry is not found. (mount_info::set_flags_from_win32_path): Ditto. --- winsup/cygwin/path.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'winsup/cygwin/path.cc') diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc index 3d3079774..25412b261 100644 --- a/winsup/cygwin/path.cc +++ b/winsup/cygwin/path.cc @@ -1512,7 +1512,10 @@ mount_info::conv_to_win32_path (const char *src_path, char *dst, } if (i >= nmounts) - backslashify (pathbuf, dst, 0); /* just convert */ + { + backslashify (pathbuf, dst, 0); /* just convert */ + set_flags (flags, PATH_BINARY); + } else { int n; @@ -1755,7 +1758,7 @@ mount_info::set_flags_from_win32_path (const char *p) if (path_prefix_p (mi.native_path, p, mi.native_pathlen)) return mi.flags; } - return 0; + return PATH_BINARY; } /* read_mounts: Given a specific regkey, read mounts from under its -- cgit v1.2.3