summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/dtable.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2004-12-23 21:37:44 +0000
committerChristopher Faylor <me@cgf.cx>2004-12-23 21:37:44 +0000
commit861ef99725f983ce5bf2a4fc505dc4545bcecb17 (patch)
tree983e2255e75403d14f83f14bceb7879b3898e651 /winsup/cygwin/dtable.cc
parent7a2ba9dbec847e68908d6c7eb8a93895d5ce9cff (diff)
downloadcygnal-861ef99725f983ce5bf2a4fc505dc4545bcecb17.tar.gz
cygnal-861ef99725f983ce5bf2a4fc505dc4545bcecb17.tar.bz2
cygnal-861ef99725f983ce5bf2a4fc505dc4545bcecb17.zip
* path.h (path_conv::set_normalized_path): Add second argument and fill it in
throughout. * path.cc (path_conv::check): Declare, set and use "strip_tail". (path_conv::set_normalized_path): Add and use second argument, replacing all tail stripping tests.
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 81c84a99e..38e5057cf 100644
--- a/winsup/cygwin/dtable.cc
+++ b/winsup/cygwin/dtable.cc
@@ -357,9 +357,9 @@ build_fh_dev (const device& dev, const char *unix_name)
{
path_conv pc (dev);
if (unix_name)
- pc.set_normalized_path (unix_name);
+ pc.set_normalized_path (unix_name, false);
else
- pc.set_normalized_path (dev.name);
+ pc.set_normalized_path (dev.name, false);
return build_fh_pc (pc);
}