1.13.0 coreutils/id.c calls libc getgrouplist()

Denys Vlasenko vda.linux at googlemail.com
Sun Nov 16 15:04:06 UTC 2008


On Sunday 16 November 2008 09:18, Tito wrote:
> On Sunday 16 November 2008 04:21:10 Denys Vlasenko wrote:
> Maybe we can add some warning like:
> 
> #if defined (__UCLIBC__) \
> && (__UCLIBC_MAJOR__ == 0 && __UCLIBC_MINOR__ < 9) \
> || (__UCLIBC_MINOR__ == 9 &&  __UCLIBC_SUBLEVEL__ < 30)
> #warning "Sorry, you need at least uClibc version 0.9.30 for getgrouplist :("
> #endif
> 
> Attached you will find a patch with the above check,
> please apply if you like it.
> The patch is only roughly tested as i don't use uClibc 
> (but seems to work as expected).

Applied and tested it to work as intended with 0.9.29 and 0.9.30.
Thanks!
--
vda



More information about the busybox mailing list