summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/dtable.cc
diff options
context:
space:
mode:
authorPierre Humblet <phumblet@phumblet.no-ip.org>2005-05-09 02:39:34 +0000
committerPierre Humblet <phumblet@phumblet.no-ip.org>2005-05-09 02:39:34 +0000
commitadef8db0ae5ed1eb6f8edb88b2685ea6316ea35f (patch)
tree0f8051216bf246b6b091c948b3ad3e0042ba0712 /winsup/cygwin/dtable.cc
parentf991d0e53ebed74e93a7d0ff4c878ed0f37f2742 (diff)
downloadcygnal-adef8db0ae5ed1eb6f8edb88b2685ea6316ea35f.tar.gz
cygnal-adef8db0ae5ed1eb6f8edb88b2685ea6316ea35f.tar.bz2
cygnal-adef8db0ae5ed1eb6f8edb88b2685ea6316ea35f.zip
2005-05-09 Pierre Humblet <pierre.humblet@ieee.org>
* fhandler.h (class fhandler_netdrive): New class. * fhandler_netdrive.cc (fhandler_netdrive::fhandler_netdrive): New constructor. (fhandler_netdrive::exists): New method. (fhandler_netdrive::fstat): Ditto. (fhandler_netdrive::readdir): Ditto. (fhandler_netdrive::open): Ditto. * dtable.cc (build_fh_pc): Handle case FH_NETDRIVE. * path.cc (isvirtual_dev): Add FH_NETDRIVE. (mount_info::conv_to_win32_path): Detect netdrive device and bypass mount search for network paths.
Diffstat (limited to 'winsup/cygwin/dtable.cc')
-rw-r--r--winsup/cygwin/dtable.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/winsup/cygwin/dtable.cc b/winsup/cygwin/dtable.cc
index 2f011e6fb..575be7434 100644
--- a/winsup/cygwin/dtable.cc
+++ b/winsup/cygwin/dtable.cc
@@ -454,6 +454,9 @@ build_fh_pc (path_conv& pc)
case FH_PROCESS:
fh = cnew (fhandler_process) ();
break;
+ case FH_NETDRIVE:
+ fh = cnew (fhandler_netdrive) ();
+ break;
case FH_TTY:
{
if (myself->ctty == TTY_CONSOLE)