diff options
author | Ulrich Drepper <drepper@redhat.com> | 2006-04-01 19:12:44 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2006-04-01 19:12:44 +0000 |
commit | 6d893bd991df2d3d0b56be3a2cf926756c602915 (patch) | |
tree | 7eabacf394703d8af75cd371713610030dcc7382 /sysdeps | |
parent | 9388dcbb84dd616b20823ac46c8630b8c2845a82 (diff) | |
download | glibc-6d893bd991df2d3d0b56be3a2cf926756c602915.zip glibc-6d893bd991df2d3d0b56be3a2cf926756c602915.tar.gz glibc-6d893bd991df2d3d0b56be3a2cf926756c602915.tar.bz2 |
[BZ #2450]
* posix/unistd.h: Match return value of readlink to what POSIX
says these days.
* io/readlink.c: Likewise.
* io/readlinkat.c: Likewise.
* sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/sysv/linux/readlinkat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/readlinkat.c b/sysdeps/unix/sysv/linux/readlinkat.c index c2f21ee..9b4a730 100644 --- a/sysdeps/unix/sysv/linux/readlinkat.c +++ b/sysdeps/unix/sysv/linux/readlinkat.c @@ -29,7 +29,7 @@ /* Read the contents of the symbolic link PATH relative to FD into no more than LEN bytes of BUF. */ -int +ssize_t readlinkat (fd, path, buf, len) int fd; const char *path; |