Loading src/client/gkfs_libc.cpp +4 −1 Original line number Diff line number Diff line Loading @@ -1908,7 +1908,10 @@ realpath(const char* path, char* resolved_path) { // provided smaller, this check is tricky. Assuming PATH_MAX // is sufficient. } strcpy(resolved_path, resolved_str_internal.c_str()); // we should return the full path (CTX->mountdir() + // resolved_str_internal) strcpy(resolved_path, (CTX->mountdir() + resolved_str_internal).c_str()); return resolved_path; } else if(status == PathStatus::Error) { Loading Loading
src/client/gkfs_libc.cpp +4 −1 Original line number Diff line number Diff line Loading @@ -1908,7 +1908,10 @@ realpath(const char* path, char* resolved_path) { // provided smaller, this check is tricky. Assuming PATH_MAX // is sufficient. } strcpy(resolved_path, resolved_str_internal.c_str()); // we should return the full path (CTX->mountdir() + // resolved_str_internal) strcpy(resolved_path, (CTX->mountdir() + resolved_str_internal).c_str()); return resolved_path; } else if(status == PathStatus::Error) { Loading