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.16-ports-merge-278-gedb3cb8
- From: fw at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 4 Sep 2012 13:02:10 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.16-ports-merge-278-gedb3cb8
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 edb3cb88310fe7a2fecebd8cb487b17f5f7a185d (commit)
from 292378045ce335a3aabfc2724dbc499f026995f3 (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=edb3cb88310fe7a2fecebd8cb487b17f5f7a185d
commit edb3cb88310fe7a2fecebd8cb487b17f5f7a185d
Author: Florian Weimer <fweimer@redhat.com>
Date: Tue Sep 4 15:01:18 2012 +0200
stdlib/tst-secure-getenv.c: whitespace-only changes in comments
diff --git a/ChangeLog b/ChangeLog
index 9606f3c..5411be3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,8 @@
* stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
failures.
+ * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
+
2012-09-04 Joseph Myers <joseph@codesourcery.com>
[BZ #9914]
diff --git a/stdlib/tst-secure-getenv.c b/stdlib/tst-secure-getenv.c
index b52aaf0..7a6930b 100644
--- a/stdlib/tst-secure-getenv.c
+++ b/stdlib/tst-secure-getenv.c
@@ -18,7 +18,7 @@
/* Test that secure_getenv works by invoking the test as a SGID
program with a group ID from the supplementary group list. This
test can fail spuriously if the user is not a member of a suitable
- supplementary group. */
+ supplementary group. */
#include <errno.h>
#include <fcntl.h>
@@ -36,7 +36,7 @@ static char MAGIC_ARGUMENT[] = "run-actual-test";
static const char *test_dir;
/* Return a GID which is not our current GID, but is present in the
- supplementary group list. */
+ supplementary group list. */
static gid_t
choose_gid (void)
{
@@ -60,7 +60,7 @@ choose_gid (void)
/* Copies the executable into a restricted directory, so that we can
safely make it SGID with the TARGET group ID. Then runs the
- executable. */
+ executable. */
static int
run_executable_sgid (gid_t target)
{
@@ -152,7 +152,7 @@ run_executable_sgid (gid_t target)
}
if (kid == 0)
{
- /* Child process. */
+ /* Child process. */
char *args[] = { execname, MAGIC_ARGUMENT, NULL };
execve (execname, args, environ);
printf ("execve (%s): %m\n", execname);
@@ -228,7 +228,7 @@ alternative_main (int argc, char **argv)
{
if (getgid () == getegid ())
{
- /* This can happen if the file system is mounted nosuid. */
+ /* This can happen if the file system is mounted nosuid. */
fprintf (stderr, "SGID failed: GID and EGID match (%jd)\n",
(intmax_t) getgid ());
exit (MAGIC_STATUS);
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 2 ++
stdlib/tst-secure-getenv.c | 10 +++++-----
2 files changed, 7 insertions(+), 5 deletions(-)
hooks/post-receive
--
GNU C Library master sources