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.
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user