diff options
author | Ulrich Drepper <drepper@gmail.com> | 2011-11-11 13:29:12 -0500 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-11-11 13:29:12 -0500 |
commit | 1d8f7ddc04a4782c1bf2d6f48ce40e7d57caa920 (patch) | |
tree | b80014598ade05556449724881c200b49b5ffd2d | |
parent | aaddc98c25727f896fc8ed36c5562dc46865dbe6 (diff) | |
parent | 95b7042bac3e2cfc6fef7aec6acc7d46dd50eba5 (diff) | |
download | glibc-1d8f7ddc04a4782c1bf2d6f48ce40e7d57caa920.zip glibc-1d8f7ddc04a4782c1bf2d6f48ce40e7d57caa920.tar.gz glibc-1d8f7ddc04a4782c1bf2d6f48ce40e7d57caa920.tar.bz2 |
Merge branch 'master' of ssh://sourceware.org/git/glibc
Conflicts:
ChangeLog
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | include/unistd.h | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -3,6 +3,11 @@ * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable. * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise. +2011-11-11 Roland McGrath <roland@hack.frob.com> + + * include/unistd.h: Fix __readlink return type. + Reported by Chris Metcalf <cmetcalf@tilera.com>. + 2011-11-11 Ulrich Drepper <drepper@gmail.com> * stdlib/ucontext.h: Undo last change for makecontext. diff --git a/include/unistd.h b/include/unistd.h index 5014e2e..3231943 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -117,7 +117,7 @@ extern int __ttyname_r (int __fd, char *__buf, size_t __buflen); extern int __isatty (int __fd); extern int __link (__const char *__from, __const char *__to); extern int __symlink (__const char *__from, __const char *__to); -extern int __readlink (__const char *__path, char *__buf, size_t __len); +extern ssize_t __readlink (__const char *__path, char *__buf, size_t __len); extern int __unlink (__const char *__name); extern int __gethostname (char *__name, size_t __len); extern int __profil (unsigned short int *__sample_buffer, size_t __size, |