bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug#20923: mgetgroups.c vs getgrouplist warning on OS X


From: Paul Eggert
Subject: Re: bug#20923: mgetgroups.c vs getgrouplist warning on OS X
Date: Sun, 28 Jun 2015 23:48:01 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

Jim Meyering wrote:
I compiled the just-published snapshot on OS X configured with
--enable-gcc-warnings, and saw this:

lib/mgetgroups.c: In function 'mgetgroups':
lib/mgetgroups.c:90:45: error: pointer targets in passing argument 3
of 'getgrouplist' differ in signedness [-Werror=pointer-sign]
            ng = getgrouplist (username, gid, g, &max_n_groups);

Does the attached gnulib patch fix things for you on OS X?

Its documentation lists OS X 10.11 (released this month), as I assume the incompatiblity is in the latest version of OS X and that Apple's never going to fix it....

Attachment: 0001-mgetgroups-port-to-strict-OS-X.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]