summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cpukit/ChangeLog2
-rw-r--r--cpukit/libcsupport/include/rtems/libio_.h4
-rw-r--r--cpukit/libcsupport/src/eval.c5
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