This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/3493] New: sysconf() should not be declared __attribute__((const))
- From: "nmiell at comcast dot net" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 9 Nov 2006 05:49:32 -0000
- Subject: [Bug libc/3493] New: sysconf() should not be declared __attribute__((const))
- Reply-to: sourceware-bugzilla at sourceware dot org
Several of the values (at the very least, _SC_NPROCESSORS_ONLN) can change at
runtime, which means labeling sysconf() as a const function is incorrect.
--
Summary: sysconf() should not be declared __attribute__((const))
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: nmiell at comcast dot net
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=3493
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.