Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2008-05-13 17:44:04 +0400
committerCorinna Vinschen <corinna@vinschen.de>2008-05-13 17:44:04 +0400
commita9e9da89fa1cb146f1dbefc67f71e74eb4e0e179 (patch)
tree136a1e8b214c5478774b58203414dca8981c54c7 /winsup/cygwin/dtable.cc
parenta065930a3ad29db593857c3807ebe9deacb5321a (diff)
* 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.
Diffstat (limited to 'winsup/cygwin/dtable.cc')
-rw-r--r--winsup/cygwin/dtable.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/dtable.cc b/winsup/cygwin/dtable.cc
index 2192bcf09..7f997d479 100644
--- a/winsup/cygwin/dtable.cc
+++ b/winsup/cygwin/dtable.cc
@@ -396,9 +396,9 @@ build_fh_dev (const device& dev, const char *unix_name)
{
path_conv pc (dev);
if (unix_name)
- pc.set_normalized_path (unix_name, false);
+ pc.set_normalized_path (unix_name);
else
- pc.set_normalized_path (dev.name, false);
+ pc.set_normalized_path (dev.name);
return build_fh_pc (pc);
}