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.19-632-gbd3675f


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  bd3675f9a3e91edf997c0515f0f1fce1669f038c (commit)
      from  d03efb2f979defd473955a455d66b949961d26b2 (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=bd3675f9a3e91edf997c0515f0f1fce1669f038c

commit bd3675f9a3e91edf997c0515f0f1fce1669f038c
Author: Ludovic Courtès <ludo@gnu.org>
Date:   Sun Jun 22 11:55:43 2014 +0200

    nscd: Remove unused typedef and variable.
    
    The attached patch removed the unused â??thread_info_tâ?? typedef and the
    â??thread_infoâ?? variable from nscd.c.  The former conflicts with a GNU Mach
    typedef, and the latter conflicts with a GNU Mach function declaration:
    <https://lists.gnu.org/archive/html/bug-hurd/2014-06/msg00101.html>.
    
    Tested on x86_64-linux-gnu.

diff --git a/ChangeLog b/ChangeLog
index 67b7896..92b567a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-06-22  Ludovic Courtès  <ludo@gnu.org>
+
+	* nscd/nscd.c (thread_info_t): Remove typedef.
+	(thread_info): Remove variable.
+
 2014-06-21  Allan McRae  <allan@archlinux.org>
 
 	* NEWS: Mention CVE-2014-4043.
diff --git a/nscd/nscd.c b/nscd/nscd.c
index a4c71e9..3dd1135 100644
--- a/nscd/nscd.c
+++ b/nscd/nscd.c
@@ -57,20 +57,6 @@
 
 #define PACKAGE _libc_intl_domainname
 
-/* Structure used by main() thread to keep track of the number of
-   active threads.  Used to limit how many threads it will create
-   and under a shutdown condition to wait till all in-progress
-   requests have finished before "turning off the lights".  */
-
-typedef struct
-{
-  int             num_active;
-  pthread_cond_t  thread_exit_cv;
-  pthread_mutex_t mutex;
-} thread_info_t;
-
-thread_info_t thread_info;
-
 int do_shutdown;
 int disabled_passwd;
 int disabled_group;

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

Summary of changes:
 ChangeLog   |    5 +++++
 nscd/nscd.c |   14 --------------
 2 files changed, 5 insertions(+), 14 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]