[C--] tmpnam considered dangerous

Hendrik Boom <[email protected]> Sat, 3 Jan 2009 05:29:23 +0000 (UTC)
Newsgroups gmane.comp.lang.c--
Message-ID <[email protected]>
Just started installing qc-- on Debian testing, first compiling mk.
It gives me the warning,

/farhome/hendrik/dv/lang/c--/qc--20080912/mk/src/Posix.c:284: warning: 
the use of `tmpnam' is dangerous, better use `mkstemp'

Is this something to worry about?  If tmpnam is *reallt* dangerous, maybe 
the source needs changing?

I'm actually surprised that cc knows this much about its libraries.

-- hendrik

_______________________________________________
Cminusminus mailing list
[email protected]
https://cminusminus.org/mailman/listinfo/cminusminus