Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b8e86c5a authored by Colin Cross's avatar Colin Cross Committed by Gerrit Code Review
Browse files

Merge "android_filesystem_config: allow absolute paths"

parents 82ea44f8 04aaf5a4
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -236,6 +236,10 @@ static inline void fs_config(const char *path, int dir,
    struct fs_path_config *pc;
    int plen;

    if (path[0] == '/') {
        path++;
    }

    pc = dir ? android_dirs : android_files;
    plen = strlen(path);
    for(; pc->prefix; pc++){