summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/_rename_r.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2012-03-13 09:22:11 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2012-03-13 12:24:10 +0100
commit256341001927de4c8b34c870bc0e56892ddbb533 (patch)
tree190e106d837d3bd3ffc2f55c6efbcd48b9ec55c0 /cpukit/libcsupport/src/_rename_r.c
parentFilesystem: New defaults fsync_h and fdatasync_h (diff)
downloadrtems-256341001927de4c8b34c870bc0e56892ddbb533.tar.bz2
Filesystem: Rename defines
o Removed RTEMS_LIBIO_PERMS_SEARCH. o Renamed RTEMS_LIBIO_PERMS_READ in RTEMS_FS_PERMS_READ. o Renamed RTEMS_LIBIO_PERMS_WRITE in RTEMS_FS_PERMS_WRITE. o Renamed RTEMS_LIBIO_PERMS_EXEC in RTEMS_FS_PERMS_EXEC. o Renamed RTEMS_LIBIO_FOLLOW_HARD_LINK in RTEMS_FS_FOLLOW_HARD_LINK. o Renamed RTEMS_LIBIO_FOLLOW_SYM_LINK in RTEMS_FS_FOLLOW_SYM_LINK. o Renamed RTEMS_LIBIO_MAKE in RTEMS_FS_MAKE. o Renamed RTEMS_LIBIO_EXCLUSIVE in RTEMS_FS_EXCLUSIVE. o Renamed RTEMS_LIBIO_ACCEPT_RESIDUAL_DELIMITERS in RTEMS_FS_ACCEPT_RESIDUAL_DELIMITERS. o Renamed RTEMS_LIBIO_REJECT_TERMINAL_DOT in RTEMS_FS_REJECT_TERMINAL_DOT.
Diffstat (limited to 'cpukit/libcsupport/src/_rename_r.c')
-rw-r--r--cpukit/libcsupport/src/_rename_r.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/cpukit/libcsupport/src/_rename_r.c b/cpukit/libcsupport/src/_rename_r.c
index 7a2637aa89..56cd50c922 100644
--- a/cpukit/libcsupport/src/_rename_r.c
+++ b/cpukit/libcsupport/src/_rename_r.c
@@ -34,8 +34,8 @@ int _rename_r(
rtems_filesystem_eval_path_context_t old_ctx;
int old_eval_flags = 0;
rtems_filesystem_location_info_t old_parentloc;
- int old_parent_eval_flags = RTEMS_LIBIO_PERMS_WRITE
- | RTEMS_LIBIO_FOLLOW_HARD_LINK;
+ int old_parent_eval_flags = RTEMS_FS_PERMS_WRITE
+ | RTEMS_FS_FOLLOW_HARD_LINK;
const rtems_filesystem_location_info_t *old_currentloc =
rtems_filesystem_eval_path_start_with_parent(
&old_ctx,
@@ -47,9 +47,9 @@ int _rename_r(
rtems_filesystem_eval_path_context_t new_ctx;
/* FIXME: This is not POSIX conform */
- int new_eval_flags = RTEMS_LIBIO_FOLLOW_HARD_LINK
- | RTEMS_LIBIO_MAKE
- | RTEMS_LIBIO_EXCLUSIVE;
+ int new_eval_flags = RTEMS_FS_FOLLOW_HARD_LINK
+ | RTEMS_FS_MAKE
+ | RTEMS_FS_EXCLUSIVE;
const rtems_filesystem_location_info_t *new_currentloc =
rtems_filesystem_eval_path_start( &new_ctx, new, new_eval_flags );