[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#14463: coreutils-8.21 darwin regressions
From: |
Paul Eggert |
Subject: |
bug#14463: coreutils-8.21 darwin regressions |
Date: |
Sat, 25 May 2013 01:59:20 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 |
On 05/24/2013 03:46 PM, Jack Howarth wrote:
> I tried changing the instances of _DARWIN_C_SOURCE to _POSIX_C_SOURCE in
> configure
That won't work, for the reasons you describe.
How about this idea: modify getgroups.m4 to recognize
the Darwin situation and compile a substitute getgroups.c,
and modify getgroups.c to work around the Darwin problem
by defining a rpl_getgroups that calls the correct Darwin
getgroups. It'll take a bit of Darwinish hacking to get
this to work, but it should work.