Skip to contentSkip to conversation

inconsistent redundancy in chdir.2

DISCUSSION Michael Kerrisk 1 participant 1 message Nov 25, 2010 2 messages not in the archive Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

Hello Martin,

Quoted 3 lines · Martin Eberhard Schauer

           Dear Mr. Kerrisk,

thank you for maintaining the Linux man-pages.

You're welcome!

Quoted 17 lines

Updating the outdated translation of chdir.2 for manpages-de I found

Feature Test Macro Requirements for glibc (see feature_test_macros(7)):

     fchdir():
         _BSD_SOURCE || _XOPEN_SOURCE >= 500 || _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED
         || /* Since glibc 2.12: */ _POSIX_C_SOURCE >= 200809L

Quoted 1 line

and as last (third) part of NOTES

Quoted 1 line

The prototype for fchdir() is only available if _BSD_SOURCE is defined, or _XOPEN_SOURCE is defined with the value 500.

Quoted 1 line
Quoted 5 lines

This is almost the same of the first two possibilities above.

Please check whether >= or = is right and consider dropping/extending the last
paragraph of the NOTES.

Thanks for reporting this. The piece in notes is redundannt and incorrect, and as you suggest, I removed it, for man-pages-3.32.

Signature · 7 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Author of "The Linux Programming Interface"; http://man7.org/tlpi/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html