fs_clonepath.cpp

This commit is contained in:
Antonio SJ Musumeci 2025-09-01 19:26:04 -05:00
parent 97c6964415
commit a4663bd546

View file

@ -67,10 +67,13 @@ fs::clonepath(const string &srcpath_,
string dstpath;
string srcpath;
string dirname;
stdfs::path relapth;
if((relpath_ == NULL) || (relpath_[0] == '\0'))
return 0;
dirname = fs::path::dirname(relpath_);
if(dirname != "/")
{