Merge "android_filesystem_config: allow absolute paths"

This commit is contained in:
Colin Cross 2012-12-21 13:35:05 -08:00 committed by Gerrit Code Review
commit b8e86c5aba

View file

@ -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++){