diff options
author | Christopher Faylor <me@cgf.cx> | 2004-12-23 21:37:44 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2004-12-23 21:37:44 +0000 |
commit | 861ef99725f983ce5bf2a4fc505dc4545bcecb17 (patch) | |
tree | 983e2255e75403d14f83f14bceb7879b3898e651 /winsup/cygwin/fhandler.cc | |
parent | 7a2ba9dbec847e68908d6c7eb8a93895d5ce9cff (diff) | |
download | cygnal-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/fhandler.cc')
-rw-r--r-- | winsup/cygwin/fhandler.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/fhandler.cc b/winsup/cygwin/fhandler.cc index ebe3d7175..2507f322e 100644 --- a/winsup/cygwin/fhandler.cc +++ b/winsup/cygwin/fhandler.cc @@ -41,7 +41,7 @@ inline fhandler_base& fhandler_base::operator =(fhandler_base& x) { memcpy (this, &x, sizeof *this); - pc.set_normalized_path (x.pc.normalized_path); + pc.set_normalized_path (x.pc.normalized_path, false); rabuf = NULL; ralen = 0; raixget = 0; @@ -151,7 +151,7 @@ void fhandler_base::set_name (path_conv &in_pc) { memcpy (&pc, &in_pc, in_pc.size ()); - pc.set_normalized_path (in_pc.normalized_path); + pc.set_normalized_path (in_pc.normalized_path, false); } /* Detect if we are sitting at EOF for conditions where Windows |