Bug#353031: posix_fadvise defines missing

2007-04-22 Thread Aurelien Jarno
reassing 353031 manpages-dev thanks On Fri, Feb 24, 2006 at 05:52:14PM +0900, GOTO Masanori wrote: > At 16 Feb 2006 13:00:08 -0500, > Greg Stark wrote: > > > The man pages come from manpages-dev. > > > > It seems like the necessary #defines should be included in each man page > > along > > with

Bug#353031: posix_fadvise defines missing

2006-02-24 Thread GOTO Masanori
At 16 Feb 2006 13:00:08 -0500, Greg Stark wrote: > > The man pages come from manpages-dev. > > It seems like the necessary #defines should be included in each man page along > with the necessary #includes. I suspect I'll be tilting at windmills trying to > convince people of this though. Can we r

Bug#353031: posix_fadvise defines missing

2006-02-16 Thread Greg Stark
Daniel Jacobowitz <[EMAIL PROTECTED]> writes: > > Daniel Jacobowitz <[EMAIL PROTECTED]> writes: > > > > > Try -D_GNU_SOURCE then? Or -D_POSIX_C_SOURCE=200112L -D_BSD_SOURCE, or > > > several other combinations. > > Yes, did you read my suggestion? oh i see, i misread it. > The man pages c

Bug#353031: posix_fadvise defines missing

2006-02-16 Thread Daniel Jacobowitz
On Thu, Feb 16, 2006 at 12:24:27AM -0500, Greg Stark wrote: > > Daniel Jacobowitz <[EMAIL PROTECTED]> writes: > > > > This seems to be a problem related to the "features.h" stuff. If I define > > > _POSIX_C_SOURCE to 200112L then it works but then random other system > > > functions > > > aren't

Bug#353031: posix_fadvise defines missing

2006-02-16 Thread Gabor Gombas
On Thu, Feb 16, 2006 at 12:24:27AM -0500, Greg Stark wrote: > If this is intentional (which seems unlikely, why should I have to define > these things just to get a standard libc function?) then it's at the very > least a documentation bug. The man page clearly indicates that only "#include > " is

Bug#353031: posix_fadvise defines missing

2006-02-15 Thread Greg Stark
Daniel Jacobowitz <[EMAIL PROTECTED]> writes: > > This seems to be a problem related to the "features.h" stuff. If I define > > _POSIX_C_SOURCE to 200112L then it works but then random other system > > functions > > aren't defined. (specifically "random" and "srandom"). > > Try -D_GNU_SOURCE th

Bug#353031: posix_fadvise defines missing

2006-02-15 Thread Daniel Jacobowitz
On Wed, Feb 15, 2006 at 01:41:07PM -0500, Gregory Stark wrote: > > bash-3.00$ gcc -Wall pfa.c > pfa.c: In function 'main': > pfa.c:4: warning: implicit declaration of function 'posix_fadvise' > pfa.c:4: error: 'POSIX_FADV_NORMAL' unde

Bug#353031: posix_fadvise defines missing

2006-02-15 Thread Gregory Stark
Package: libc6 Version: 2.3.6-1 Severity: normal >From the man page: NAME posix_fadvise - predeclare an access pattern for file data SYNOPSIS #include int posix_fadvise(int fd, off_t offset, off_t len, int adv