tmpnam v mkstemp

Paul Eggert eggert@twinsun.com
Sat Nov 11 14:56:00 GMT 2000


> Date: Sat, 11 Nov 2000 14:29:10 -0800
> From: Geoff Keating <geoffk@geoffk.org>

> I believe it warns about 'gets', but not about 'strcpy'.  The
> justification is that 'gets' is almost always a problem but the same
> is not true for 'strcpy'.

Is there some easy way to disable the link-time warning?  It is useful
to disable it for applications like the ones I mentioned, which are
using mktemp safely.  Also, POSIX does not allow the warning.


More information about the Libc-alpha mailing list