Bug#542601: manpages-dev: mmap(2) manpage doesn't say that MAP_ANON is not available if _XOPEN_SOURCE is defined

2013-02-13 Thread Simon Paillard
On Tue, Feb 12, 2013 at 09:42:11PM +0100, Michael Kerrisk (man-pages) wrote: tags 542601 fixed-upstream thanks FTR, it will be available in 3.48, and is: 45e97e2ac5b mmap.2: Some 'flags' values require a feature test macro to be defined -- Simon Paillard -- To UNSUBSCRIBE, email to

Bug#542601: manpages-dev: mmap(2) manpage doesn't say that MAP_ANON is not available if _XOPEN_SOURCE is defined

2013-02-12 Thread Michael Kerrisk (man-pages)
tags 542601 fixed-upstream thanks On Thu, Aug 20, 2009 at 1:02 PM, Török Edwin edwinto...@gmail.com wrote: Package: manpages-dev Version: 3.22-1 Severity: normal When _XOPEN_SOURCE is defined the glibc headers no longer define MAP_ANON or MAP_ANONYMOUS (because _BSD_SOURCE is no longer

Bug#542601: manpages-dev: mmap(2) manpage doesn't say that MAP_ANON is not available if _XOPEN_SOURCE is defined

2009-08-20 Thread Török Edwin
Package: manpages-dev Version: 3.22-1 Severity: normal When _XOPEN_SOURCE is defined the glibc headers no longer define MAP_ANON or MAP_ANONYMOUS (because _BSD_SOURCE is no longer defined by default). So if I want to use both pread(2) and mmap(2) in same C source file, I have to define both