This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch, master, updated. glibc-2.10-402-gde2cc80


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  de2cc8095bf7fa4202d0d4c038c8be61dc60fd41 (commit)
      from  6cfe8609b890f33e6c7235549cb02c3c6a0f3820 (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=de2cc8095bf7fa4202d0d4c038c8be61dc60fd41

commit de2cc8095bf7fa4202d0d4c038c8be61dc60fd41
Author: Andreas Schwab <schwab@redhat.com>
Date:   Fri Oct 30 14:14:31 2009 +0100

    Fix typo in readlinkat

diff --git a/ChangeLog b/ChangeLog
index 7a6136b..6562469 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-10-30  Andreas Schwab  <schwab@redhat.com>
+
+	* sysdeps/unix/sysv/linux/readlinkat.c: Fix last change.
+
 2009-10-28  Roland McGrath  <roland@redhat.com>
 
 	* Makefile (dist-prepare): New target.
diff --git a/sysdeps/unix/sysv/linux/readlinkat.c b/sysdeps/unix/sysv/linux/readlinkat.c
index 1e9a9b6..55abff1 100644
--- a/sysdeps/unix/sysv/linux/readlinkat.c
+++ b/sysdeps/unix/sysv/linux/readlinkat.c
@@ -59,7 +59,7 @@ readlinkat (fd, path, buf, len)
   if (fd != AT_FDCWD && path[0] != '/')
     {
       size_t pathlen = strlen (path);
-      if (__builtin_expect (filelen == 0, 0))
+      if (__builtin_expect (pathlen == 0, 0))
 	{
 	  __set_errno (ENOENT);
 	  return -1;

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                            |    4 ++++
 sysdeps/unix/sysv/linux/readlinkat.c |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]