public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/3493] New: sysconf() should not be declared __attribute__((const))
@ 2006-11-09  5:49 nmiell at comcast dot net
  2006-11-09 21:54 ` [Bug libc/3493] " drepper at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: nmiell at comcast dot net @ 2006-11-09  5:49 UTC (permalink / raw)
  To: glibc-bugs

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug libc/3493] sysconf() should not be declared __attribute__((const))
  2006-11-09  5:49 [Bug libc/3493] New: sysconf() should not be declared __attribute__((const)) nmiell at comcast dot net
@ 2006-11-09 21:54 ` drepper at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: drepper at redhat dot com @ 2006-11-09 21:54 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2006-11-09 21:53 -------
OK, changed.  Not that the NPROCESSORS values are meaningful in many situations
nowadays.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-11-09 21:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-09  5:49 [Bug libc/3493] New: sysconf() should not be declared __attribute__((const)) nmiell at comcast dot net
2006-11-09 21:54 ` [Bug libc/3493] " drepper at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).