[PATCH] mkstemp: fix _POSIX_C_SOURCE value for mkstemp()

DORMANTno replies

From: Quentin Rameau <hidden>
Date: 2016-07-01 11:51:17
Subsystem: the rest · Maintainer: Linus Torvalds

The correct _POSIX_C_SOURCE value has always been 200809L, not 200112L
---
 man3/mkstemp.3 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/man3/mkstemp.3 b/man3/mkstemp.3
index 8fcd608..d1d4805 100644
--- a/man3/mkstemp.3
+++ b/man3/mkstemp.3
@@ -59,7 +59,7 @@ Feature Test Macro Requirements for glibc (see
 .PD 0
 _XOPEN_SOURCE\ >=\ 500
 .\"    || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
-    || /* Since glibc 2.12: */ _POSIX_C_SOURCE\ >=\ 200112L
+    || /* Since glibc 2.12: */ _POSIX_C_SOURCE\ >=\ 200809L
     || /* Glibc versions <= 2.19: */ _SVID_SOURCE || _BSD_SOURCE
 .PD
 .RE
-- 
2.9.0

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help