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

Commit 4600545f authored by Colin Cross's avatar Colin Cross Committed by Android Git Automerger
Browse files

am b8e86c5a: Merge "android_filesystem_config: allow absolute paths"

* commit 'b8e86c5a':
  android_filesystem_config: allow absolute paths
parents 191af2f2 b8e86c5a
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++){