mirrorfs.c
// FUSE delivers paths with a leading slash.  Remove them when possible and
// return dot otherwise.
FUSE delivers paths with a leading slash.  Remove them when possible and
return dot otherwise.
FUSE delivers paths with a leading slash . Remove them when possible and return dot otherwise .
static const char *safe_path(const char *path)
{
    if (strcmp(path, "/") == 0) {
        return ".";
    }
    return path + 1;
}
static const char * safe_path ( const char * path ) { if ( strcmp ( path , " " ) == 0 ) { return " " ; } return path + 1 ; }
FUSE delivers paths with a leading slash.
FUSE delivers paths with a leading slash .