2011-07-04 Chris Johns <chrisj@rtems.org>

PR 1827/filesystem
        * libfs/src/rfs/rtems-rfs-rtems.c: Skip the parent (..) path value
        when eval make moving up out of the RFS file system.
This commit is contained in:
Chris Johns
2011-07-04 00:31:25 +00:00
parent 7d647c09e9
commit acb92e332b
2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
2011-07-04 Chris Johns <chrisj@rtems.org>
PR 1827/filesystem
* libfs/src/rfs/rtems-rfs-rtems.c: Skip the parent (..) path value
when eval make moving up out of the RFS file system.
2011-07-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/malloc_initialize.c: After discussion with Till

View File

@@ -367,7 +367,7 @@ rtems_rfs_rtems_eval_for_make (const char* path,
rtems_rfs_inode_close (fs, &inode);
rtems_rfs_rtems_unlock (fs);
*pathloc = pathloc->mt_entry->mt_point_node;
return (*pathloc->ops->evalformake_h)(path - node_len, pathloc, name);
return (*pathloc->ops->evalformake_h)(path + 2, pathloc, name);
}
/*