This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch, master, updated. glibc-2.14-501-g95b7042
- From: roland at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 11 Nov 2011 18:05:16 -0000
- Subject: GNU C Library master sources branch, master, updated. glibc-2.14-501-g95b7042
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 95b7042bac3e2cfc6fef7aec6acc7d46dd50eba5 (commit)
from 57769839788e2c62b68d9dfbf4b35052321278ba (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=95b7042bac3e2cfc6fef7aec6acc7d46dd50eba5
commit 95b7042bac3e2cfc6fef7aec6acc7d46dd50eba5
Author: Roland McGrath <roland@hack.frob.com>
Date: Fri Nov 11 10:02:42 2011 -0800
Fix __readlink declaration.
diff --git a/ChangeLog b/ChangeLog
index 60fb50c..33c7c9d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+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,
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
include/unistd.h | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
hooks/post-receive
--
GNU C Library master sources