DORMANTno replies

[PATCH] getgroups.2: FTM requirements fix for setgroups(2)

From: Andrew Clayton <hidden>
Date: 2016-11-12 14:07:12
Subsystem: the rest · Maintainer: Linus Torvalds

This fix's commit 51c612f (... Update FTM requirements
(_DEFAULT_SOURCE))

This commit updated numerous pages for the _SVID_SOURCE & _BSD_SOURCE
deprecations and the new use of _DEFAULT_SOURCE.

However during this conversion for setgroups(2) _BSD_SOURCE got replaced
by _SVID_SOURCE under the 'Glibc 2.19 and earlier:' heading.

Put it back to _BSD_SOURCE. This was confirmed by building under a Glibc
2.17 system and using _SVID_SOURCE resulted in a

    warning: implicit declaration of function ‘setgroups’ [-Wimplicit-function-declaration]

message. Using _BSD_SOURCE gives a clean compile.

Signed-off-by: Andrew Clayton <andrew-gyMb1R/nBgN3uBD2Ct+Y/qxOck334EZe@public.gmane.org>
---
 man2/getgroups.2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/man2/getgroups.2 b/man2/getgroups.2
index bd9d7f4..16e9864 100644
--- a/man2/getgroups.2
+++ b/man2/getgroups.2
@@ -52,7 +52,7 @@ Feature Test Macro Requirements for glibc (see
     Since glibc 2.19:
         _DEFAULT_SOURCE
     Glibc 2.19 and earlier:
-        _SVID_SOURCE
+        _BSD_SOURCE
 .SH DESCRIPTION
 .PP
 .BR getgroups ()
-- 
2.7.4

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help