* Re: [PATCH] mkstemp: fix _POSIX_C_SOURCE value for mkstemp()
@ 2016-07-08 0:06 Quentin Rameau
[not found] ` <20160708000626.GA26576-lvRy8M+iZ/WfwRssfSzb0bNAH6kLmebB@public.gmane.org>
0 siblings, 1 reply; 10+ messages in thread
From: Quentin Rameau @ 2016-07-08 0:06 UTC (permalink / raw)
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA
Here are more informations to save you the time searching for it.
Introduced in f095bb7 (2010-01-09) in stdlib/stdlib.h line 609:
+#if defined __USE_MISC || defined __USE_XOPEN_EXTENDED \
+ || defined __USE_XOPEN2K8
[..]
extern int mkstemp (char *__template) __nonnull ((1)) __wur;
And in include/features.h (from glibc 2.12 e28c887):
#if (_POSIX_C_SOURCE - 0) >= 200112L
# define __USE_XOPEN2K 1
# undef __USE_ISOC95
# define __USE_ISOC95 1
# undef __USE_ISOC99
# define __USE_ISOC99 1
#endif
#if (_POSIX_C_SOURCE - 0) >= 200809L
# define __USE_XOPEN2K8 1
# undef _ATFILE_SOURCE
# define _ATFILE_SOURCE 1
#endif
--
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
^ permalink raw reply [flat|nested] 10+ messages in thread[parent not found: <20160708000626.GA26576-lvRy8M+iZ/WfwRssfSzb0bNAH6kLmebB@public.gmane.org>]
* Re: [PATCH] mkstemp: fix _POSIX_C_SOURCE value for mkstemp() [not found] ` <20160708000626.GA26576-lvRy8M+iZ/WfwRssfSzb0bNAH6kLmebB@public.gmane.org> @ 2016-07-14 9:32 ` Quentin Rameau [not found] ` <20160714093249.GA25778-lvRy8M+iZ/WfwRssfSzb0bNAH6kLmebB@public.gmane.org> 2016-08-03 2:58 ` Mike Frysinger 1 sibling, 1 reply; 10+ messages in thread From: Quentin Rameau @ 2016-07-14 9:32 UTC (permalink / raw) To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA *ping* Forgive me for being insistant, but as there has been no response to this thread, and with all the spam thas has been going on on the ml in the last few days, I'm thinking maybe you didn't see it pass. Or maybe you just don't find it acceptable, then a response would be appreciated anyway. Thanks for your time! > Here are more informations to save you the time searching for it. > Introduced in f095bb7 (2010-01-09) in stdlib/stdlib.h line 609: > > +#if defined __USE_MISC || defined __USE_XOPEN_EXTENDED \ > + || defined __USE_XOPEN2K8 > [..] > extern int mkstemp (char *__template) __nonnull ((1)) __wur; > > And in include/features.h (from glibc 2.12 e28c887): > > #if (_POSIX_C_SOURCE - 0) >= 200112L > # define __USE_XOPEN2K 1 > # undef __USE_ISOC95 > # define __USE_ISOC95 1 > # undef __USE_ISOC99 > # define __USE_ISOC99 1 > #endif > > #if (_POSIX_C_SOURCE - 0) >= 200809L > # define __USE_XOPEN2K8 1 > # undef _ATFILE_SOURCE > # define _ATFILE_SOURCE 1 > #endif > > -- > 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 -- 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 ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <20160714093249.GA25778-lvRy8M+iZ/WfwRssfSzb0bNAH6kLmebB@public.gmane.org>]
* Re: [PATCH] mkstemp: fix _POSIX_C_SOURCE value for mkstemp() [not found] ` <20160714093249.GA25778-lvRy8M+iZ/WfwRssfSzb0bNAH6kLmebB@public.gmane.org> @ 2016-07-21 17:19 ` Quentin Rameau [not found] ` <20160721191931.305a456e-PEB9nCXmw2nfEafzWYgPkA@public.gmane.org> 0 siblings, 1 reply; 10+ messages in thread From: Quentin Rameau @ 2016-07-21 17:19 UTC (permalink / raw) To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA *ping* > *ping* > > Forgive me for being insistant, but as there has been no response to > this thread, and with all the spam thas has been going on on the ml in > the last few days, I'm thinking maybe you didn't see it pass. > Or maybe you just don't find it acceptable, then a response would be > appreciated anyway. > Thanks for your time! > > > Here are more informations to save you the time searching for it. > > Introduced in f095bb7 (2010-01-09) in stdlib/stdlib.h line 609: > > > > +#if defined __USE_MISC || defined __USE_XOPEN_EXTENDED \ > > + || defined __USE_XOPEN2K8 > > [..] > > extern int mkstemp (char *__template) __nonnull ((1)) __wur; > > > > And in include/features.h (from glibc 2.12 e28c887): > > > > #if (_POSIX_C_SOURCE - 0) >= 200112L > > # define __USE_XOPEN2K 1 > > # undef __USE_ISOC95 > > # define __USE_ISOC95 1 > > # undef __USE_ISOC99 > > # define __USE_ISOC99 1 > > #endif > > > > #if (_POSIX_C_SOURCE - 0) >= 200809L > > # define __USE_XOPEN2K8 1 > > # undef _ATFILE_SOURCE > > # define _ATFILE_SOURCE 1 > > #endif > > > > -- > > 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 > -- > 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 -- 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 ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <20160721191931.305a456e-PEB9nCXmw2nfEafzWYgPkA@public.gmane.org>]
* Re: [PATCH] mkstemp: fix _POSIX_C_SOURCE value for mkstemp() [not found] ` <20160721191931.305a456e-PEB9nCXmw2nfEafzWYgPkA@public.gmane.org> @ 2016-08-01 12:44 ` Quentin Rameau 0 siblings, 0 replies; 10+ messages in thread From: Quentin Rameau @ 2016-08-01 12:44 UTC (permalink / raw) To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA *ping* > *ping* > > > *ping* > > > > Forgive me for being insistant, but as there has been no response to > > this thread, and with all the spam thas has been going on on the ml in > > the last few days, I'm thinking maybe you didn't see it pass. > > Or maybe you just don't find it acceptable, then a response would be > > appreciated anyway. > > Thanks for your time! > > > > > Here are more informations to save you the time searching for it. > > > Introduced in f095bb7 (2010-01-09) in stdlib/stdlib.h line 609: > > > > > > +#if defined __USE_MISC || defined __USE_XOPEN_EXTENDED \ > > > + || defined __USE_XOPEN2K8 > > > [..] > > > extern int mkstemp (char *__template) __nonnull ((1)) __wur; > > > > > > And in include/features.h (from glibc 2.12 e28c887): > > > > > > #if (_POSIX_C_SOURCE - 0) >= 200112L > > > # define __USE_XOPEN2K 1 > > > # undef __USE_ISOC95 > > > # define __USE_ISOC95 1 > > > # undef __USE_ISOC99 > > > # define __USE_ISOC99 1 > > > #endif > > > > > > #if (_POSIX_C_SOURCE - 0) >= 200809L > > > # define __USE_XOPEN2K8 1 > > > # undef _ATFILE_SOURCE > > > # define _ATFILE_SOURCE 1 > > > #endif > > > > > > -- > > > 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 > > -- > > 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 > > -- > 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 -- 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 ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] mkstemp: fix _POSIX_C_SOURCE value for mkstemp() [not found] ` <20160708000626.GA26576-lvRy8M+iZ/WfwRssfSzb0bNAH6kLmebB@public.gmane.org> 2016-07-14 9:32 ` Quentin Rameau @ 2016-08-03 2:58 ` Mike Frysinger [not found] ` <20160803025809.GE6702-UgUKS2FnFs9+urZeOPWqwQ@public.gmane.org> 1 sibling, 1 reply; 10+ messages in thread From: Mike Frysinger @ 2016-08-03 2:58 UTC (permalink / raw) To: Quentin Rameau Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w, linux-man-u79uwXL29TY76Z2rM5mHXA [-- Attachment #1: Type: text/plain, Size: 1042 bytes --] On 08 Jul 2016 02:06, Quentin Rameau wrote: > Here are more informations to save you the time searching for it. > Introduced in f095bb7 (2010-01-09) in stdlib/stdlib.h line 609: > > +#if defined __USE_MISC || defined __USE_XOPEN_EXTENDED \ > + || defined __USE_XOPEN2K8 > [..] > extern int mkstemp (char *__template) __nonnull ((1)) __wur; > > And in include/features.h (from glibc 2.12 e28c887): > > #if (_POSIX_C_SOURCE - 0) >= 200112L > # define __USE_XOPEN2K 1 > # undef __USE_ISOC95 > # define __USE_ISOC95 1 > # undef __USE_ISOC99 > # define __USE_ISOC99 1 > #endif > > #if (_POSIX_C_SOURCE - 0) >= 200809L > # define __USE_XOPEN2K8 1 > # undef _ATFILE_SOURCE > # define _ATFILE_SOURCE 1 > #endif what is it you're trying to report ? the man page already reads: mkstemp(): _XOPEN_SOURCE >= 500 || /* Since glibc 2.12: */ _POSIX_C_SOURCE >= 200112L || /* Glibc versions <= 2.19: */ _SVID_SOURCE || _BSD_SOURCE can you attach a patch ? -mike [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 819 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <20160803025809.GE6702-UgUKS2FnFs9+urZeOPWqwQ@public.gmane.org>]
* Re: [PATCH] mkstemp: fix _POSIX_C_SOURCE value for mkstemp() [not found] ` <20160803025809.GE6702-UgUKS2FnFs9+urZeOPWqwQ@public.gmane.org> @ 2016-08-03 11:31 ` Quentin Rameau [not found] ` <20160803113131.GA24366-lvRy8M+iZ/WfwRssfSzb0bNAH6kLmebB@public.gmane.org> 0 siblings, 1 reply; 10+ messages in thread From: Quentin Rameau @ 2016-08-03 11:31 UTC (permalink / raw) To: Mike Frysinger Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w, linux-man-u79uwXL29TY76Z2rM5mHXA Hi, thanks for the response! > On 08 Jul 2016 02:06, Quentin Rameau wrote: > > Here are more informations to save you the time searching for it. > > Introduced in f095bb7 (2010-01-09) in stdlib/stdlib.h line 609: > > > > +#if defined __USE_MISC || defined __USE_XOPEN_EXTENDED \ > > + || defined __USE_XOPEN2K8 > > [..] > > extern int mkstemp (char *__template) __nonnull ((1)) __wur; > > > > And in include/features.h (from glibc 2.12 e28c887): > > > > #if (_POSIX_C_SOURCE - 0) >= 200112L > > # define __USE_XOPEN2K 1 > > # undef __USE_ISOC95 > > # define __USE_ISOC95 1 > > # undef __USE_ISOC99 > > # define __USE_ISOC99 1 > > #endif > > > > #if (_POSIX_C_SOURCE - 0) >= 200809L > > # define __USE_XOPEN2K8 1 > > # undef _ATFILE_SOURCE > > # define _ATFILE_SOURCE 1 > > #endif > > what is it you're trying to report ? the man page already reads: > mkstemp(): > _XOPEN_SOURCE >= 500 > || /* Since glibc 2.12: */ _POSIX_C_SOURCE >= 200112L > || /* Glibc versions <= 2.19: */ _SVID_SOURCE || _BSD_SOURCE Yes, that's the whole point, it is incorrect! mkstemp is declared with __USE_XOPEN2K8 defined, which occurs when _POSIX_C_SOURCE is defined to 200809L, not 200112L as it is incorrectly stated in the current manpage version. > can you attach a patch ? > -mike Of course, already did that in fact, that's the first mail of the thread. I can link the marc.info archive to you if that can help: http://marc.info/?l=linux-man&m=146737548209893 -- 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 ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <20160803113131.GA24366-lvRy8M+iZ/WfwRssfSzb0bNAH6kLmebB@public.gmane.org>]
* Re: [PATCH] mkstemp: fix _POSIX_C_SOURCE value for mkstemp() [not found] ` <20160803113131.GA24366-lvRy8M+iZ/WfwRssfSzb0bNAH6kLmebB@public.gmane.org> @ 2016-08-03 22:17 ` Michael Kerrisk (man-pages) [not found] ` <5f03a2c7-3535-8203-c6f2-559939350552-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 2016-08-04 0:30 ` Mike Frysinger 1 sibling, 1 reply; 10+ messages in thread From: Michael Kerrisk (man-pages) @ 2016-08-03 22:17 UTC (permalink / raw) To: Quentin Rameau, Mike Frysinger Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w, linux-man-u79uwXL29TY76Z2rM5mHXA Hello Quentin For some reasons, all of your earlier mails got marked as spam by gmail, and so I did not see them. However, Mike's reply came through okay, and so I saw this at last. On 08/03/2016 09:31 PM, Quentin Rameau wrote: > Hi, thanks for the response! > >> On 08 Jul 2016 02:06, Quentin Rameau wrote: >>> Here are more informations to save you the time searching for it. >>> Introduced in f095bb7 (2010-01-09) in stdlib/stdlib.h line 609: >>> >>> +#if defined __USE_MISC || defined __USE_XOPEN_EXTENDED \ >>> + || defined __USE_XOPEN2K8 >>> [..] >>> extern int mkstemp (char *__template) __nonnull ((1)) __wur; >>> >>> And in include/features.h (from glibc 2.12 e28c887): >>> >>> #if (_POSIX_C_SOURCE - 0) >= 200112L >>> # define __USE_XOPEN2K 1 >>> # undef __USE_ISOC95 >>> # define __USE_ISOC95 1 >>> # undef __USE_ISOC99 >>> # define __USE_ISOC99 1 >>> #endif >>> >>> #if (_POSIX_C_SOURCE - 0) >= 200809L >>> # define __USE_XOPEN2K8 1 >>> # undef _ATFILE_SOURCE >>> # define _ATFILE_SOURCE 1 >>> #endif >> >> what is it you're trying to report ? the man page already reads: >> mkstemp(): >> _XOPEN_SOURCE >= 500 >> || /* Since glibc 2.12: */ _POSIX_C_SOURCE >= 200112L >> || /* Glibc versions <= 2.19: */ _SVID_SOURCE || _BSD_SOURCE > > Yes, that's the whole point, it is incorrect! > mkstemp is declared with __USE_XOPEN2K8 defined, which occurs when > _POSIX_C_SOURCE is defined to 200809L, not 200112L as it is incorrectly > stated in the current manpage version. > >> can you attach a patch ? >> -mike > > Of course, already did that in fact, that's the first mail of the > thread. > I can link the marc.info archive to you if that can help: > http://marc.info/?l=linux-man&m=146737548209893 Thanks for catching this. I've applied your patch. Cheers, Michael -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/ -- 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 ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <5f03a2c7-3535-8203-c6f2-559939350552-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>]
* Re: [PATCH] mkstemp: fix _POSIX_C_SOURCE value for mkstemp() [not found] ` <5f03a2c7-3535-8203-c6f2-559939350552-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> @ 2016-08-03 23:57 ` Quentin Rameau 0 siblings, 0 replies; 10+ messages in thread From: Quentin Rameau @ 2016-08-03 23:57 UTC (permalink / raw) To: Michael Kerrisk (man-pages); +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA On Thu, Aug 04, 2016 at 08:17:29AM +1000, Michael Kerrisk (man-pages) wrote: > Hello Quentin > > For some reasons, all of your earlier mails got marked as spam by > gmail, and so I did not see them. However, Mike's reply came through > okay, and so I saw this at last. No problem, indeed that happens! > Thanks for catching this. I've applied your patch. Thanks to you! -- 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 ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] mkstemp: fix _POSIX_C_SOURCE value for mkstemp() [not found] ` <20160803113131.GA24366-lvRy8M+iZ/WfwRssfSzb0bNAH6kLmebB@public.gmane.org> 2016-08-03 22:17 ` Michael Kerrisk (man-pages) @ 2016-08-04 0:30 ` Mike Frysinger 1 sibling, 0 replies; 10+ messages in thread From: Mike Frysinger @ 2016-08-04 0:30 UTC (permalink / raw) To: Quentin Rameau Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w, linux-man-u79uwXL29TY76Z2rM5mHXA [-- Attachment #1: Type: text/plain, Size: 254 bytes --] On 03 Aug 2016 13:31, Quentin Rameau wrote: > > can you attach a patch ? > > Of course, already did that in fact, that's the first mail of the > thread. i replied to the first e-mail in the thread that i saw which didn't include a patch -mike [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 819 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH] mkstemp: fix _POSIX_C_SOURCE value for mkstemp() @ 2016-07-01 11:51 Quentin Rameau 0 siblings, 0 replies; 10+ messages in thread From: Quentin Rameau @ 2016-07-01 11:51 UTC (permalink / raw) To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA 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 ^ permalink raw reply related [flat|nested] 10+ messages in thread
end of thread, other threads:[~2016-08-04 0:30 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-08 0:06 [PATCH] mkstemp: fix _POSIX_C_SOURCE value for mkstemp() Quentin Rameau
[not found] ` <20160708000626.GA26576-lvRy8M+iZ/WfwRssfSzb0bNAH6kLmebB@public.gmane.org>
2016-07-14 9:32 ` Quentin Rameau
[not found] ` <20160714093249.GA25778-lvRy8M+iZ/WfwRssfSzb0bNAH6kLmebB@public.gmane.org>
2016-07-21 17:19 ` Quentin Rameau
[not found] ` <20160721191931.305a456e-PEB9nCXmw2nfEafzWYgPkA@public.gmane.org>
2016-08-01 12:44 ` Quentin Rameau
2016-08-03 2:58 ` Mike Frysinger
[not found] ` <20160803025809.GE6702-UgUKS2FnFs9+urZeOPWqwQ@public.gmane.org>
2016-08-03 11:31 ` Quentin Rameau
[not found] ` <20160803113131.GA24366-lvRy8M+iZ/WfwRssfSzb0bNAH6kLmebB@public.gmane.org>
2016-08-03 22:17 ` Michael Kerrisk (man-pages)
[not found] ` <5f03a2c7-3535-8203-c6f2-559939350552-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-08-03 23:57 ` Quentin Rameau
2016-08-04 0:30 ` Mike Frysinger
-- strict thread matches above, loose matches on Subject: below --
2016-07-01 11:51 Quentin Rameau
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).