forked from Imagelibrary/rtems
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:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user