Hello Paul,

On Sat, May 2, 2009 at 4:50 PM, Paul Wise <[email protected]> wrote:
> Package: manpages-dev
> Version: 3.05-1
> Severity: normal
>
> The nftw manual page says to define _XOPEN_SOURCE

More precisely, it says:

#define _XOPEN_SOURCE 500

> but ftw.h from glibc
> 2.7 in lenny and glibc 2.9 in sid uses __USE_XOPEN_EXTENDED. This leads
> to code that uses nftw failing to build.

Not sure whay that should happen, but so far I don't think it's a man
page problem.

> No idea which one is correct
> according to the standards, but the manual page should not give advice
> that does not work.

As far as I can see, the ftw(3) man page is correct.  Have a read of
feature_test_macros(7) and <features.h>.  If after that you still
think there's a problem, drop a note into this bug.

Thanks,

Michael

-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
git://git.kernel.org/pub/scm/docs/man-pages/man-pages.git
man-pages online: http://www.kernel.org/doc/man-pages/online_pages.html
Found a bug? http://www.kernel.org/doc/man-pages/reporting_bugs.html



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to