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.17-612-g355f916


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  355f916505e3101f1952fd1a8e2c4c69b52cc36a (commit)
      from  bd9ffde61a27945abf0498b5c562f9bf0dcc6419 (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://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=355f916505e3101f1952fd1a8e2c4c69b52cc36a

commit 355f916505e3101f1952fd1a8e2c4c69b52cc36a
Author: Roland McGrath <roland@hack.frob.com>
Date:   Mon May 6 15:23:51 2013 -0700

    Fix poll stub implementation.

diff --git a/ChangeLog b/ChangeLog
index b82e778..fa96814 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2013-05-06  Roland McGrath  <roland@hack.frob.com>
 
+	* io/poll.c (__poll): Renamed from poll.
+	Add libc_hidden_def.
+	(poll): Define as weak alias.
+
 	* debug/ptsname_r_chk.c: Moved to ...
 	* login/ptsname_r_chk.c: ... here.
 	* debug/Makefile (routines): Move ptsname_r_chk to ...
diff --git a/io/poll.c b/io/poll.c
index fadad38..aa4c2d0 100644
--- a/io/poll.c
+++ b/io/poll.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 1994-2013 Free Software Foundation, Inc.
+/* Poll (or wait) for file descriptor I/O availability.  Stub version.
+   Copyright (C) 1994-2013 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
@@ -25,13 +26,12 @@
    or -1 for errors.  */
 
 int
-poll (fds, nfds, timeout)
-     struct pollfd *fds;
-     nfds_t nfds;
-     int timeout;
+__poll (struct pollfd *fds, nfds_t nfds, int timeout)
 {
   __set_errno (ENOSYS);
   return -1;
 }
+libc_hidden_def (__poll)
+weak_alias (__poll, poll)
 
 stub_warning (poll)

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

Summary of changes:
 ChangeLog |    4 ++++
 io/poll.c |   10 +++++-----
 2 files changed, 9 insertions(+), 5 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]