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

sysconf() returns illegal values



Package libc6 which is based on glibc 2.3.2 contains a bug in which sysconf() 
returns illegal values.  Posix conforming applications won't run properly on 
it without a workaround for the bug.

glibc has already fixed the bug in versions 2.3.4 and up.  Here's the diff 
from cvsweb containing the bugfix for the problem:

http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/posix/sysconf.c.diff?r1=1.34&r2=1.35&cvsroot=glibc&f=h

I hope you guys can either upgrade libc6 to use a newer version of glibc, or 
apply the patch directly to the current version you have.  It definitely 
would not break any packages already out there, so it should be safe to fix 
the stable release of libc6 with this patch as well.

- David



Reply to: