Fix bug in open() function for local file srcs, to deal with symlinks.

This commit is contained in:
Vreixo Formoso
2007-12-15 17:12:21 +01:00
parent 40b27dbacc
commit 0a340c53d5
2 changed files with 4 additions and 1 deletions

View File

@ -158,7 +158,7 @@ int lfs_open(IsoFileSource *src)
}
/* is a file or a dir ? */
err = lfs_lstat(src, &info);
err = lfs_stat(src, &info);
if (err < 0) {
return err;
}