]> rtime.felk.cvut.cz Git - rtems-devel.git/blob - rtems-patches/current/rtems-readlink-type-fix.patch
gcc and binutils update for rtems-4.9.x arm9 build
[rtems-devel.git] / rtems-patches / current / rtems-readlink-type-fix.patch
1 ---
2  cpukit/libcsupport/src/readlink.c |    4 ++--
3  1 file changed, 2 insertions(+), 2 deletions(-)
4
5 Index: rtems/cpukit/libcsupport/src/readlink.c
6 ===================================================================
7 --- rtems.orig/cpukit/libcsupport/src/readlink.c        2007-08-15 01:54:35.000000000 +0200
8 +++ rtems/cpukit/libcsupport/src/readlink.c     2007-08-15 01:56:45.000000000 +0200
9 @@ -18,10 +18,10 @@
10  #include <rtems/libio_.h>
11  #include <rtems/seterr.h>
12  
13 -int readlink(
14 +ssize_t readlink(
15    const char *pathname,
16    char       *buf,
17 -  int         bufsize
18 +  size_t      bufsize
19  )
20  {
21    rtems_filesystem_location_info_t  loc;