diff options
author | Christopher Faylor <me@cgf.cx> | 2002-06-05 04:01:43 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-06-05 04:01:43 +0000 |
commit | ce006ffa7f6985c2dbe6128d74ba6beda562743a (patch) | |
tree | f06848351ed62f45e8034e2d5c5eb69f36a5f87e /winsup/cygwin/path.cc | |
parent | 147d2ab4949aec9a3b510e1ee43399a9e6261122 (diff) | |
download | cygnal-ce006ffa7f6985c2dbe6128d74ba6beda562743a.tar.gz cygnal-ce006ffa7f6985c2dbe6128d74ba6beda562743a.tar.bz2 cygnal-ce006ffa7f6985c2dbe6128d74ba6beda562743a.zip |
* 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.
Diffstat (limited to 'winsup/cygwin/path.cc')
-rw-r--r-- | winsup/cygwin/path.cc | 7 |
1 files changed, 5 insertions, 2 deletions
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 |