mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-12-23 01:08:54 +00:00
parent
cf86fa51b0
commit
910255745e
@ -206,7 +206,7 @@ int mkdirp(const std::string& path, mode_t mode)
|
|||||||
std::string component;
|
std::string component;
|
||||||
std::istringstream ss(path);
|
std::istringstream ss(path);
|
||||||
while (getline(ss, component, '/')) {
|
while (getline(ss, component, '/')) {
|
||||||
base += "/" + component;
|
base += component + "/";
|
||||||
|
|
||||||
struct stat st;
|
struct stat st;
|
||||||
if(0 == stat(base.c_str(), &st)){
|
if(0 == stat(base.c_str(), &st)){
|
||||||
|
Loading…
Reference in New Issue
Block a user