OSDN Git Service

* fhandler_disk_file.cc (fhandler_disk_file::readdir_helper): Disable
authorcorinna <corinna>
Wed, 12 Mar 2008 16:07:03 +0000 (16:07 +0000)
committercorinna <corinna>
Wed, 12 Mar 2008 16:07:03 +0000 (16:07 +0000)
commit25291aa4e36ad682606d7a6d19fc36594c488094
treef6f0e938927856b8f2d12778f1b9f13a8f297e3e
parent88a8f7532be62a167e2f58b45a426fdd968ea778
* 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.
winsup/cygwin/ChangeLog
winsup/cygwin/fhandler_disk_file.cc
winsup/cygwin/path.cc
winsup/cygwin/path.h