This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/3188] New: mremap() should depend on _GNU_SOURCE
- From: "michael dot kerrisk at gmx dot net" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 9 Sep 2006 04:16:31 -0000
- Subject: [Bug libc/3188] New: mremap() should depend on _GNU_SOURCE
- Reply-to: sourceware-bugzilla at sourceware dot org
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.