changeset 30208:8f61866f0f6d

maint: merge stable to default.
author Markus Mützel <markus.muetzel@gmx.de>
date Fri, 24 Sep 2021 17:58:38 +0200
parents aaee7b170cb1 (current diff) 3b6e0f476381 (diff)
children 54774a713d7c
files libinterp/corefcn/load-path.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/load-path.cc	Thu Sep 23 12:19:54 2021 -0700
+++ b/libinterp/corefcn/load-path.cc	Fri Sep 24 17:58:38 2021 +0200
@@ -358,7 +358,7 @@
 
     if (! dir_arg.empty ())
       {
-        if (dir_arg == ".")
+        if (same_file (dir_arg, "."))
           {
             warning (R"(rmpath: can't remove "." from path)");