Re: getgrouplist segfault?



Andrew V. Samoilov wrote:
Hello,

we can add and use new variable like use_getgrouplist in mc.lib.
Let system admins or users who defined MC_DATADIR approve this
setting for their systems.

So what would be the default value for the variable?

- TRUE on non-glibc systems,
- TRUE on glibc systems with glibc>=2.3.3,
- FALSE otherwise?

I think run-time detection of this glibc misfeature is not trivial.

I think it _is_ trivial. If we abstract from the possibility of some distributions that might patch this thing without increasing the version number.

But another question arises: Do we want to keep this variable and the patch forever? Or will we remove it in one or two years?

Roland



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