[Bug libc/3188] New: mremap() should depend on _GNU_SOURCE

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug libc/3188] New: mremap() should depend on _GNU_SOURCE

glaubitz at physik dot fu-berlin.de
In <sys/mman.h>, mremap() is exposed if __USE_MISC is set, that is if
_BSD_SOURCE or _SVID_SOURCE is defined.  

Since mremap() is Linux specific, this mremap() should instead depend on
_GNU_SOURCE.  Note also that in <bits/mman.h>, MREMAP_MAYMOVE and MREMAP_FIXED
are only exposed if _GNU_SOURCE is set, so that _GNU_SOURCE is in any case required.

--
           Summary: mremap() should depend on _GNU_SOURCE
           Product: glibc
           Version: 2.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: michael dot kerrisk at gmx dot net
                CC: glibc-bugs at sources dot redhat dot com


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
Reply | Threaded
Open this post in threaded view
|

[Bug libc/3188] mremap() should depend on _GNU_SOURCE

glaubitz at physik dot fu-berlin.de

------- Additional Comments From drepper at redhat dot com  2006-09-09 16:22 -------
Changed in cvs.

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


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

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