diff options
-rw-r--r-- | cpukit/ChangeLog | 6 | ||||
-rw-r--r-- | cpukit/libfs/src/rfs/rtems-rfs-rtems.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index f57d4d97fb..cfdd07820a 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -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 diff --git a/cpukit/libfs/src/rfs/rtems-rfs-rtems.c b/cpukit/libfs/src/rfs/rtems-rfs-rtems.c index bf688f0f67..26708610a9 100644 --- a/cpukit/libfs/src/rfs/rtems-rfs-rtems.c +++ b/cpukit/libfs/src/rfs/rtems-rfs-rtems.c @@ -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); } /* |