# HG changeset patch # User Paul Eggert # Date 1384358137 28800 # Node ID 1d86dd318fa5c5a16664875a77f78f75c085ab21 # Parent ddbceb7cd9f558c3c0633147c97d0e124ca50d3b Fix indentation in previous patch. diff -r ddbceb7cd9f5 -r 1d86dd318fa5 lib/getgroups.c --- a/lib/getgroups.c Wed Nov 13 07:51:40 2013 -0800 +++ b/lib/getgroups.c Wed Nov 13 07:55:37 2013 -0800 @@ -53,10 +53,10 @@ 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"); -# 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