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.
This commit is contained in:
Ralf Corsepius
2010-05-27 16:29:37 +00:00
parent cd469f2cc8
commit a794000d0f
3 changed files with 6 additions and 5 deletions

View File

@@ -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:

View File

@@ -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

View File

@@ -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