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.