coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 1/2] build: update gnulib submodule to latest; and group-member.h


From: Jim Meyering
Subject: [PATCH 1/2] build: update gnulib submodule to latest; and group-member.h
Date: Thu, 12 May 2011 08:25:17 +0200

FYI,

>From eec0e6d2e4f6bc62384f6474c0addc4489dee1ec Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Wed, 11 May 2011 17:55:02 +0200
Subject: [PATCH 1/2] build: update gnulib submodule to latest

---
 gnulib |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gnulib b/gnulib
index d801cb7..4104cd4 160000
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit d801cb77b966678e21af7a106b15a3fe598d5ec4
+Subproject commit 4104cd4f7746f8ba7e75e3292c78c2c528b0c88a
--
1.7.5.1.354.g761178


>From 6bc73ee56ee525b30053cf7ec06215ef39f9e8de Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Thu, 12 May 2011 08:23:02 +0200
Subject: [PATCH 2/2] maint: use <unistd.h>, not "group-member.h"

gnulib's group-member module now ensures that the group_member
function is declared in <unistd.h>, just like it is glibc.
* lib/euidaccess-stat.c: Remove inclusion of "group-member.h".
* src/chgrp.c: Likewise.
---
 lib/euidaccess-stat.c |    1 -
 src/chgrp.c           |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/lib/euidaccess-stat.c b/lib/euidaccess-stat.c
index 0fc5646..46c04b8 100644
--- a/lib/euidaccess-stat.c
+++ b/lib/euidaccess-stat.c
@@ -25,7 +25,6 @@

 #include <unistd.h>

-#include "group-member.h"
 #include "stat-macros.h"

 /* Return true if the current user has permission of type MODE
diff --git a/src/chgrp.c b/src/chgrp.c
index 6820bdb..1b4847d 100644
--- a/src/chgrp.c
+++ b/src/chgrp.c
@@ -26,7 +26,6 @@
 #include "chown-core.h"
 #include "error.h"
 #include "fts_.h"
-#include "group-member.h"
 #include "quote.h"
 #include "root-dev-ino.h"
 #include "xstrtol.h"
--
1.7.5.1.354.g761178



reply via email to

[Prev in Thread] Current Thread [Next in Thread]