aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2021-01-05 14:34:16 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2021-01-05 14:35:55 +0100
commit96b6532808f0d010afcbe6652c052855d77dca3b (patch)
treebb8a10c3178317022d2bc073d497b65b6629750f
parent1dd0d7b4e4c99235f5e9a7aa8b9eb8aff266de0c (diff)
downloadman-pages-96b6532808f0d010afcbe6652c052855d77dca3b.tar.gz
stat.2: Move the obsolete _BSD_SOURCE FTM to the end of the FTM info
Since _BSD_SOURCE is obsolete for quite some time now, it should not be listed as the first FTM for lstat(). Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/stat.24
1 files changed, 2 insertions, 2 deletions
diff --git a/man2/stat.2 b/man2/stat.2
index 1e656550d6..f4dedf9155 100644
--- a/man2/stat.2
+++ b/man2/stat.2
@@ -64,11 +64,11 @@ Feature Test Macro Requirements for glibc (see
.PP
.BR lstat ():
.nf
- /* Glibc 2.19 and earlier */ _BSD_SOURCE
- || /* Since glibc 2.20 */ _DEFAULT_SOURCE
+ /* Since glibc 2.20 */ _DEFAULT_SOURCE
|| _XOPEN_SOURCE\ >=\ 500
.\" _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
|| /* Since glibc 2.10: */ _POSIX_C_SOURCE\ >=\ 200112L
+ || /* Glibc 2.19 and earlier */ _BSD_SOURCE
.fi
.PP
.BR fstatat ():