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.15-559-g2c040ef
- From: aj at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 6 Apr 2012 19:11:50 -0000
- Subject: GNU C Library master sources branch, master, updated. glibc-2.15-559-g2c040ef
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 2c040eff839ff8c2b1b1c3ab0f6cbb30976ce87a (commit)
from e9142a17e1deb881638e60f14054a69075587c75 (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=2c040eff839ff8c2b1b1c3ab0f6cbb30976ce87a
commit 2c040eff839ff8c2b1b1c3ab0f6cbb30976ce87a
Author: Andreas Jaeger <aj@suse.de>
Date: Fri Apr 6 21:09:36 2012 +0200
Add missing include file
Compiling on Linux/i586 I get these warnings:
nss_db/db-initgroups.c:60:3: warning: implicit declaration of function
'strlen' [-Wimplicit-function-declaration]
nss_db/db-initgroups.c:74:7: warning: implicit declaration of function
'strncmp' [-Wimplicit-function-declaration]
Fixed with inclusion of <string.h>
diff --git a/ChangeLog b/ChangeLog
index 85497f2..10288ce 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2012-04-06 Andreas Jaeger <aj@suse.de>
+ * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
+ strncmp declarations.
+
* abilist/libc.abilist: Add __poll and __ppoll.
2012-04-05 David S. Miller <davem@davemloft.net>
diff --git a/nss/nss_db/db-initgroups.c b/nss/nss_db/db-initgroups.c
index 0d44e00..e56f58a 100644
--- a/nss/nss_db/db-initgroups.c
+++ b/nss/nss_db/db-initgroups.c
@@ -1,5 +1,5 @@
/* Initgroups handling in nss_db module.
- Copyright (C) 2011 Free Software Foundation, Inc.
+ Copyright (C) 2011-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@gmail.com>.
@@ -21,6 +21,7 @@
#include <errno.h>
#include <grp.h>
#include <paths.h>
+#include <string.h>
#include "nss_db.h"
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 3 +++
nss/nss_db/db-initgroups.c | 3 ++-
2 files changed, 5 insertions(+), 1 deletions(-)
hooks/post-receive
--
GNU C Library master sources