GNU C Library master sources branch, master, updated. glibc-2.11-388-g6748140

roland@sourceware.org roland@sourceware.org
Mon Apr 26 17:00:00 GMT 2010


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  67481400c51229de3efa2eb3dddc8429b6f9e9f4 (commit)
      from  85071980b348d002820b5ef35efc8aeb70559210 (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=67481400c51229de3efa2eb3dddc8429b6f9e9f4

commit 67481400c51229de3efa2eb3dddc8429b6f9e9f4
Author: Emilio Pozuelo Monfort <pochu27@gmail.com>
Date:   Mon Apr 26 09:59:30 2010 -0700

    Hurd: Fix file_name_lookup_at error case return value.

diff --git a/ChangeLog b/ChangeLog
index 1de0893..663fc46 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-04-24  Emilio Pozuelo Monfort  <pochu27@gmail.com>
+
+	* hurd/lookup-at.c (__file_name_lookup_at): Fix error return value.
+
 2010-04-22  Ulrich Drepper  <drepper@redhat.com>
 
 	* po/vi.po: Update from translation team.
diff --git a/hurd/lookup-at.c b/hurd/lookup-at.c
index a2d50cb..7f55527 100644
--- a/hurd/lookup-at.c
+++ b/hurd/lookup-at.c
@@ -1,5 +1,5 @@
 /* Lookup helper function for Hurd implementation of *at functions.
-   Copyright (C) 2006 Free Software Foundation, Inc.
+   Copyright (C) 2006,2010 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -33,7 +33,7 @@ __file_name_lookup_at (int fd, int at_flags,
   flags |= (at_flags & AT_SYMLINK_NOFOLLOW) ? O_NOLINK : 0;
   at_flags &= ~AT_SYMLINK_NOFOLLOW;
   if (at_flags != 0)
-    return __hurd_fail (EINVAL);
+    return (__hurd_fail (EINVAL), MACH_PORT_NULL);
 
   if (fd == AT_FDCWD || file_name[0] == '/')
     return __file_name_lookup (file_name, flags, mode);

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

Summary of changes:
 ChangeLog        |    4 ++++
 hurd/lookup-at.c |    4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)


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



More information about the Glibc-cvs mailing list