* 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.
This commit is contained in:
Christopher Faylor
2004-12-23 21:37:44 +00:00
parent 7a2ba9dbec
commit 861ef99725
5 changed files with 34 additions and 22 deletions

View File

@@ -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);
}