Re: glibc and getgrouplist
- From: Roland Illig <roland illig gmx de>
- To: Koblinger Egmont <egmont uhulinux hu>
- Cc: MC Devel <mc-devel gnome org>
- Subject: Re: glibc and getgrouplist
- Date: Fri, 22 Jul 2005 09:30:11 +0200
Koblinger Egmont wrote:
(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.
Hmmm, you're right. As we are sure to have a glibc, there's also a
function strverscmp, which we can use. I had known this issue, but as
glibc-2.2 only got upto 2.2.6, I thought it would suffice.
Roland
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]