[Bug libc/10918] New: CPU_ISSET() doesn't use const casts

View: New views
3 Messages — Rating Filter:   Alert me  

[Bug libc/10918] New: CPU_ISSET() doesn't use const casts

by Bugzilla from sourceware-bugzilla@sourceware.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

const cpuset_t's can be handed to CPU_ISSET(), and by extension, no
structure containing a cpuset_t can be handed as const to a function
which calls CPU_ISSET() at some point.

--
           Summary: CPU_ISSET() doesn't use const casts
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: aurelien at aurel32 dot net
                CC: glibc-bugs at sources dot redhat dot com
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


http://sourceware.org/bugzilla/show_bug.cgi?id=10918

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

[Bug libc/10918] CPU_ISSET() doesn't use const casts

by Bugzilla from sourceware-bugzilla@sourceware.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


------- Additional Comments From aurelien at aurel32 dot net  2009-11-08 14:01 -------
Created an attachment (id=4367)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=4367&action=view)
Patch to fix the problem


--


http://sourceware.org/bugzilla/show_bug.cgi?id=10918

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

[Bug libc/10918] CPU_ISSET() doesn't use const casts

by Bugzilla from sourceware-bugzilla@sourceware.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


------- Additional Comments From drepper at redhat dot com  2009-11-19 18:04 -------
Correctly fixed in git.

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


http://sourceware.org/bugzilla/show_bug.cgi?id=10918

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.