From ffc8669736997a3159b8345e146cfba3153581cc Mon Sep 17 00:00:00 2001 From: "S.J.R. van Schaik" Date: Mon, 12 Jun 2017 03:26:39 +0200 Subject: [PATCH] mufs: allow empty path in resolve_path() --- source/fs/mufs/dir.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/source/fs/mufs/dir.c b/source/fs/mufs/dir.c index 6b477d5..9843761 100644 --- a/source/fs/mufs/dir.c +++ b/source/fs/mufs/dir.c @@ -101,9 +101,6 @@ struct mufs_tree *resolve_path(struct mufs *fs, const char *path) char *s, *p, *end; int ret; - if (!path || *path == '\0') - return NULL; - if (!(s = mufs_abspath(path))) return NULL;