From 47988f435729bfb07e1303ae90746fffcd4796b2 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Wed, 16 Apr 2025 12:22:33 -0500 Subject: [PATCH] fs_find_mount_point.cpp --- src/fs_find_mount_point.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/fs_find_mount_point.cpp b/src/fs_find_mount_point.cpp index 49870474..eaee14a8 100644 --- a/src/fs_find_mount_point.cpp +++ b/src/fs_find_mount_point.cpp @@ -22,8 +22,10 @@ fs::find_mount_point(const ghc::filesystem::path &path_) ghc::filesystem::path can_path; ghc::filesystem::path tmp_path; + printf("%s\n",ghc::filesystem::weakly_canonical(path_).string().c_str()); + printf("%s\n",ghc::filesystem::absolute(path_).string().c_str()); + can_path = ghc::filesystem::weakly_canonical(path_,ec); - printf("%s\n",can_path.string().c_str()); if(ec) can_path = ghc::filesystem::absolute(path_,ec); if(ec)