projects
/
gnulib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b0f648c
)
Fix indentation in previous patch.
author
Paul Eggert
<eggert@cs.ucla.edu>
Wed, 13 Nov 2013 15:55:37 +0000
(07:55 -0800)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Wed, 13 Nov 2013 15:55:37 +0000
(07:55 -0800)
lib/getgroups.c
patch
|
blob
|
history
diff --git
a/lib/getgroups.c
b/lib/getgroups.c
index
62234d9
..
482b24a
100644
(file)
--- a/
lib/getgroups.c
+++ b/
lib/getgroups.c
@@
-53,10
+53,10
@@
getgroups (int n _GL_UNUSED, GETGROUPS_T *groups _GL_UNUSED)
says that the behavior is dubious if you compile different sections
of a program with different _DARWIN_C_SOURCE settings, so fix only
the offending symbol. */
says that the behavior is dubious if you compile different sections
of a program with different _DARWIN_C_SOURCE settings, so fix only
the offending symbol. */
-#ifdef __APPLE__
+#
ifdef __APPLE__
int posix_getgroups (int, gid_t []) __asm ("_getgroups");
int posix_getgroups (int, gid_t []) __asm ("_getgroups");
-# define getgroups posix_getgroups
-#endif
+#
define getgroups posix_getgroups
+#
endif
/* On at least Ultrix 4.3 and NextStep 3.2, getgroups (0, NULL) always
fails. On other systems, it returns the number of supplemental
/* On at least Ultrix 4.3 and NextStep 3.2, getgroups (0, NULL) always
fails. On other systems, it returns the number of supplemental