9
0
Fork 0

svn_rev_263

This commit is contained in:
Sascha Hauer 2007-07-05 18:01:38 +02:00 committed by Sascha Hauer
parent 4cef4bdd6e
commit 06ed886f8b
1 changed files with 4 additions and 0 deletions

View File

@ -177,6 +177,8 @@ struct dir *opendir(const char *pathname)
struct mtab_entry *e;
e = get_mtab_entry_by_path(pathname);
if (!e)
return NULL;
if (e != mtab)
pathname += strlen(e->path);
@ -252,6 +254,8 @@ int mkdir (const char *pathname)
struct mtab_entry *e;
e = get_mtab_entry_by_path(pathname);
if (!e)
return NULL;
if (e != mtab)
pathname += strlen(e->path);