From 6474f7cb2789b1d98726575021794f12bebcb5b3 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Mon, 1 Sep 2025 18:36:59 -0500 Subject: [PATCH] fs_clonepath.cpp --- src/fs_clonepath.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/fs_clonepath.cpp b/src/fs_clonepath.cpp index 072ee464..8b34f3b7 100644 --- a/src/fs_clonepath.cpp +++ b/src/fs_clonepath.cpp @@ -73,6 +73,7 @@ fs::clonepath(const string &srcpath_, if((relpath_ == NULL) || (relpath_[0] == '\0')) return 0; + dirname = stdfs::path{relpath_}.parent_path(); dirname = fs::path::dirname(relpath_); if(dirname != "/")