From: Mike Frysinger <vapier-aBrp7R+bbdUdnm+yROfE0A@public.gmane.org>
To: Quentin Rameau <quinq-UlqG2OPX9a0ue8ZPuPpd/Q@public.gmane.org>
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] mkstemp: fix _POSIX_C_SOURCE value for mkstemp()
Date: Tue, 2 Aug 2016 22:58:09 -0400 [thread overview]
Message-ID: <20160803025809.GE6702@vapier.lan> (raw)
In-Reply-To: <20160708000626.GA26576-lvRy8M+iZ/WfwRssfSzb0bNAH6kLmebB@public.gmane.org>
[-- 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 --]
next prev parent reply other threads:[~2016-08-03 2:58 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
[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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160803025809.GE6702@vapier.lan \
--to=vapier-abrp7r+bbdudnm+yrofe0a@public.gmane.org \
--cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=quinq-UlqG2OPX9a0ue8ZPuPpd/Q@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).