From a9e9da89fa1cb146f1dbefc67f71e74eb4e0e179 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 13 May 2008 13:44:04 +0000 Subject: * path.cc (path_conv::set_normalized_path): Drop strip_tail argument. Never strip trailing dots and spaces. * (path_conv::check): Accomodate above change. * path.h (path_conv::operator=): Ditto * dtable.cc (build_fh_dev): Ditto. * fhandler.h (fhandler_base::set_name): Ditto. * path.cc (transform_chars): Disable converting trailing dots and spaces. * path.cc (path_conv::check): Remove two disabled code snippets. --- winsup/cygwin/path.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'winsup/cygwin/path.h') diff --git a/winsup/cygwin/path.h b/winsup/cygwin/path.h index e121280ce..ab6dda79a 100644 --- a/winsup/cygwin/path.h +++ b/winsup/cygwin/path.h @@ -253,7 +253,7 @@ class path_conv path_conv &operator =(path_conv &pc) { memcpy (this, &pc, pc.size ()); - set_normalized_path (pc.normalized_path, false); + set_normalized_path (pc.normalized_path); wide_path = NULL; return *this; } @@ -280,7 +280,7 @@ class path_conv unsigned __stdcall ndisk_links (DWORD); char *normalized_path; size_t normalized_path_size; - void set_normalized_path (const char *, bool) __attribute__ ((regparm (3))); + void set_normalized_path (const char *) __attribute__ ((regparm (2))); DWORD get_symlink_length () { return symlink_length; }; private: DWORD symlink_length; -- cgit v1.2.3