2008-01-25 17:48:11 +00:00
|
|
|
diff -urp coreutils-6.10-orig/lib/getugroups.c coreutils-6.10/lib/getugroups.c
|
|
|
|
--- coreutils-6.10-orig/lib/getugroups.c 2007-10-17 15:47:25.000000000 +0200
|
|
|
|
+++ coreutils-6.10/lib/getugroups.c 2008-01-24 16:37:04.000000000 +0100
|
|
|
|
@@ -19,6 +19,9 @@
|
2007-01-09 19:29:30 +00:00
|
|
|
|
|
|
|
#include <config.h>
|
2004-10-05 15:45:31 +00:00
|
|
|
|
|
|
|
+/* We do not need this code if getgrouplist(3) is available. */
|
|
|
|
+#ifndef HAVE_GETGROUPLIST
|
|
|
|
+
|
2008-01-25 17:48:11 +00:00
|
|
|
#include "getugroups.h"
|
|
|
|
|
2009-11-27 13:24:09 +00:00
|
|
|
#include <errno.h>
|
|
|
|
@@ -123,3 +126,4 @@ getugroups (int maxcount, GETGROUPS_T *g
|
2004-10-05 15:45:31 +00:00
|
|
|
}
|
2009-11-27 13:24:09 +00:00
|
|
|
|
|
|
|
#endif /* HAVE_GRP_H */
|
2004-10-05 15:45:31 +00:00
|
|
|
+#endif /* have getgrouplist */
|
2008-01-25 17:48:11 +00:00
|
|
|
diff -urp coreutils-6.10-orig/m4/jm-macros.m4 coreutils-6.10/m4/jm-macros.m4
|
|
|
|
--- coreutils-6.10-orig/m4/jm-macros.m4 2007-11-25 14:23:31.000000000 +0100
|
|
|
|
+++ coreutils-6.10/m4/jm-macros.m4 2008-01-24 16:42:00.000000000 +0100
|
|
|
|
@@ -52,6 +52,7 @@ AC_DEFUN([coreutils_MACROS],
|
2007-01-09 19:29:30 +00:00
|
|
|
fchown \
|
|
|
|
fchmod \
|
|
|
|
ftruncate \
|
|
|
|
+ getgrouplist \
|
|
|
|
iswspace \
|
|
|
|
mkfifo \
|
|
|
|
mbrlen \
|