Resolve "bugfix realpath (libc)"

Closes #358 (closed)

Merge request reports

Loading
+4 −1
Changes for src/client/gkfs_libc.cpp: 4 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -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