mufs: allow empty path in resolve_path()

tags/0.1.0
S.J.R. van Schaik 8 years ago
parent 84c45ee64d
commit ffc8669736
  1. 3
      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;

Loading…
Cancel
Save