diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-05-27 16:29:37 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-05-27 16:29:37 +0000 |
commit | a794000d0f085440e442bd851acac7e88b8a1362 (patch) | |
tree | e7a43db545b437177d37264e83422d276ac62baa /cpukit | |
parent | 2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-a794000d0f085440e442bd851acac7e88b8a1362.tar.bz2 |
2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/include/rtems/libio_.h, libcsupport/src/eval.c:
Use size_t instead of int for pathnamelen.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/ChangeLog | 2 | ||||
-rw-r--r-- | cpukit/libcsupport/include/rtems/libio_.h | 4 | ||||
-rw-r--r-- | cpukit/libcsupport/src/eval.c | 5 |
3 files changed, 6 insertions, 5 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 6d71f4f12e..85830571de 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,5 +1,7 @@ 2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org> + * libcsupport/include/rtems/libio_.h, libcsupport/src/eval.c: + Use size_t instead of int for pathnamelen. * libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_eval.c: Use size_t instead of int for pathnamelen. * libfs/src/dosfs/msdos.h, libfs/src/dosfs/msdos_eval.c: diff --git a/cpukit/libcsupport/include/rtems/libio_.h b/cpukit/libcsupport/include/rtems/libio_.h index 27609023b5..248357a4ef 100644 --- a/cpukit/libcsupport/include/rtems/libio_.h +++ b/cpukit/libcsupport/include/rtems/libio_.h @@ -246,7 +246,7 @@ int rtems_libio_is_file_open( int rtems_filesystem_evaluate_relative_path( const char *pathname, - int pathnamelen, + size_t pathnamelen, int flags, rtems_filesystem_location_info_t *pathloc, int follow_link @@ -254,7 +254,7 @@ int rtems_filesystem_evaluate_relative_path( int rtems_filesystem_evaluate_path( const char *pathname, - int pathnamelen, + size_t pathnamelen, int flags, rtems_filesystem_location_info_t *pathloc, int follow_link diff --git a/cpukit/libcsupport/src/eval.c b/cpukit/libcsupport/src/eval.c index d3ccc7c78d..da7acc45de 100644 --- a/cpukit/libcsupport/src/eval.c +++ b/cpukit/libcsupport/src/eval.c @@ -23,13 +23,12 @@ int rtems_filesystem_evaluate_relative_path( const char *pathname, - int pathnamelen, + size_t pathnamelen, int flags, rtems_filesystem_location_info_t *pathloc, int follow_link ) { - //int i; int result; rtems_filesystem_node_types_t type; @@ -93,7 +92,7 @@ int rtems_filesystem_evaluate_relative_path( int rtems_filesystem_evaluate_path( const char *pathname, - int pathnamelen, + size_t pathnamelen, int flags, rtems_filesystem_location_info_t *pathloc, int follow_link |