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:27:36 +00:00
parent fca42af6aa
commit a10f0ede0d
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-06-10 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1812/filesystem

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);
}
/*