glibc and getgrouplist

Koblinger Egmont egmont at uhulinux.hu
Fri Jul 22 06:46:16 UTC 2005


> >>        (strcmp(gnu_get_libc_version(), "2.3.3") > 0)

> Why not? Note the ">" comparison. Since 2.3.3, this should be definitely 
> fixed.

Please use strverscmp() or something similar. According to strcmp, 2.3.10 is
smaller than 2.3.3.



-- 
Egmont



More information about the mc-devel mailing list