* fhandler_disk_file.cc (fhandler_disk_file::readdir_helper): Disable

munging.  Convert all chars in the 0xf0xx area to it's ascii equivalent.
	* path.cc (normalize_posix_path): Don't treat "X:foo" as windows path,
	only "a:\foo".
	(tfx_chars): New transformation table for special DOS chars.
	(tfx_chars_managed): Ditto, plus transformation of uppercase ASCII
	chars.
	(transform_chars): New function.
	(get_nt_native_path): Make static.  Call transform_chars for all valid
	FS paths.  Get additional flag if file is managed or not.  Accommodate
	throughout.
	(getfileattr): Get additional flag if file is managed or not.
	Accommodate throughout.
	(path_conv::check): Disable special handling for trailing dots and
	spaces.
	(mount_item::build_win32): Disable code for managed paths.
	(mount_info::conv_to_posix_path): Ditto.
	* path.h (get_nt_native_path): Remove declaration.
This commit is contained in:
Corinna Vinschen
2008-03-12 16:07:04 +00:00
parent 31812fc0bc
commit b0717aae02
4 changed files with 101 additions and 16 deletions

View File

@ -21,8 +21,6 @@ details. */
#define isvirtual_dev(devn) \
(isproc_dev (devn) || devn == FH_CYGDRIVE || devn == FH_NETDRIVE)
extern PUNICODE_STRING get_nt_native_path (const char *, UNICODE_STRING &);
inline bool
has_attribute (DWORD attributes, DWORD attribs_to_test)
{