This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 2/3] libstdc++-v3: ::tmpnam depends on uClibc SUSV4_LEGACY
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Bernhard Reutner-Fischer <rep dot dot dot nop at gmail dot com>
- Cc: Paolo Carlini <paolo dot carlini at oracle dot com>, Gabriel Dos Reis <gdr at integrable-solutions dot net>, Rainer Orth <ro at cebitec dot uni-bielefeld dot de>, GCC Patches <gcc-patches at gcc dot gnu dot org>, "libstdc++" <libstdc++ at gcc dot gnu dot org>
- Date: Mon, 14 Apr 2014 11:23:44 +0100
- Subject: Re: [PATCH 2/3] libstdc++-v3: ::tmpnam depends on uClibc SUSV4_LEGACY
- Authentication-results: sourceware.org; auth=none
- References: <1365105210-16552-1-git-send-email-rep dot dot dot nop at gmail dot com> <1365105210-16552-3-git-send-email-rep dot dot dot nop at gmail dot com> <CAAiZkiBiUc8=dx54kWKVjDE6sCjzyTgKUZiC65=NdVi_Mg=5rg at mail dot gmail dot com> <ydd1uapic5b dot fsf at lokon dot CeBiTec dot Uni-Bielefeld dot DE> <CAAiZkiAqeHNOhkZ1FgWg1eSz4mF+9fvF1k9sLaO3hxab-X2WRg at mail dot gmail dot com> <yddwqshgx0s dot fsf at lokon dot CeBiTec dot Uni-Bielefeld dot DE> <CAAiZkiDp07LpKYHZTuQ1pW0niLpZm+3qWN4J0m0=KUNKuTGa7g at mail dot gmail dot com> <CAC1BbcQQJ-W078_+ag4H2voeSCnCut9LXyG6_kBd1+nvBQX30g at mail dot gmail dot com> <CAC1BbcRsGRPJxtsi=d+T6g_8pEH0rWW0JdAPGt78U+TAV05Guw at mail dot gmail dot com> <5166AA2C dot 5090001 at oracle dot com> <CAC1BbcTPDp9eQ=HERDo5Z7W=2eYpkBwZfa=q7qm=9-5dEEtf_g at mail dot gmail dot com> <CAH6eHdS20L49HCAhTkuROBvkCuf_B8SKXQA55Cs=FKkmJpEosQ at mail dot gmail dot com> <CAC1BbcSvmL_DXZmxPURWOCWUiaSx3Vho5v2NCc9U6opOMY-XzA at mail dot gmail dot com> <CAH6eHdRE4L9-6OT95B7W905qCSCDXBQagYLLK5Db=BwxMFo_cQ at mail dot gmail dot com> <CAC1BbcQ-e5SDDeRt5S-W4sd0Myd8FN8LqQhuFu6RnSa+6=Gtww at mail dot gmail dot com>
On 14 April 2014 11:09, Bernhard Reutner-Fischer wrote:
> Jonathan,
>
> I see that you filed LWG 2249 (gets() removal), may i ask you to take
> care of the tmpnam removal, too?
> The reasoning would be exactly the same as for gets().
The reason to remove gets() was that it's no longer in the C standard,
but as far as I can tell tmpnam() is still in both C and POSIX, so the
reason cannot be the same.
POSIX marks it as obsolescent, which means it is still part of the
standard, but may be removed in a future version.