From 43b2d5bace17cc901af345c530ee617f530500f1 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 30 Apr 2004 17:36:36 +0000 Subject: * fhandler.cc (fhandler_base::open): Call path_conv::get_nt_native_path for evaluating NT path. * path.cc (normalize_posix_path): Remove trailing dots and spaces. (path_conv::get_nt_native_path): New function. * path.h (class path_conv): Declare get_nt_native_path method. --- winsup/cygwin/path.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'winsup/cygwin/path.h') diff --git a/winsup/cygwin/path.h b/winsup/cygwin/path.h index 150799d59..c04366014 100644 --- a/winsup/cygwin/path.h +++ b/winsup/cygwin/path.h @@ -12,6 +12,7 @@ details. */ #include #include +#include enum executable_states { @@ -191,6 +192,7 @@ class path_conv ~path_conv (); inline char *get_win32 () { return path; } + PUNICODE_STRING get_nt_native_path (UNICODE_STRING &upath, WCHAR *wpath); operator char *() {return path;} operator const char *() {return path;} operator DWORD &() {return fileattr;} -- cgit v1.2.3