From 3e6110dec6f4cb004b8594b9b798a9db5b08fe7a Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 7 Dec 2016 01:22:53 +0300 Subject: Add path::current(), path::parent() --- butl/process.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'butl/process.cxx') diff --git a/butl/process.cxx b/butl/process.cxx index cf4b26d..df9fb1f 100644 --- a/butl/process.cxx +++ b/butl/process.cxx @@ -189,7 +189,7 @@ namespace butl } else { - const string& d (traits::current ()); + const string& d (traits::current_directory ()); if (search (d.c_str (), d.size (), true)) return r; @@ -507,7 +507,7 @@ namespace butl } else { - const string& d (traits::current ()); + const string& d (traits::current_directory ()); if (search (d.c_str (), d.size (), true)) // Appends extension. return r; @@ -567,7 +567,7 @@ namespace butl // idea to prepend .\ for clarity. // { - const string& d (traits::current ()); + const string& d (traits::current_directory ()); if (search (d.c_str (), d.size ())) return r; @@ -582,8 +582,8 @@ namespace butl e = strchr (b, traits::path_separator); // Empty path (i.e., a double colon or a colon at the beginning or end - // of PATH) means search in the current dirrectory. Silently skip - // invalid paths. + // of PATH) means search in the current directory. Silently skip invalid + // paths. // try { -- cgit v1.1