From b0717aae021d618cc281ad0343ac474d6e0d8f38 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Wed, 12 Mar 2008 16:07:04 +0000 Subject: * 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/path.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'winsup/cygwin/path.h') diff --git a/winsup/cygwin/path.h b/winsup/cygwin/path.h index 268a1a5f1..2b1c751f7 100644 --- a/winsup/cygwin/path.h +++ b/winsup/cygwin/path.h @@ -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) { -- cgit v1.2.3