diff options
author | Chris Johns <chrisj@rtems.org> | 2011-07-04 00:31:25 +0000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2011-07-04 00:31:25 +0000 |
commit | acb92e332ba7a5c978fe5f73e357c8235cc7d37c (patch) | |
tree | 6ff4a1adf889c0d96b8660496178b35d0b403883 /cpukit/libfs | |
parent | 2011-07-01 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-acb92e332ba7a5c978fe5f73e357c8235cc7d37c.tar.bz2 |
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.
Diffstat (limited to 'cpukit/libfs')
-rw-r--r-- | cpukit/libfs/src/rfs/rtems-rfs-rtems.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } /* |