[issue6965] tmpnam should not be used if tempfile or mkstemp are available
Florent Xicluna
report at bugs.python.org
Sun Jan 10 12:05:12 CET 2010
Florent Xicluna <laxyf at yahoo.fr> added the comment:
I get similar warnings while building on Debian AMD64:
(...)
libpython2.7.a(posixmodule.o): In function `posix_tmpnam':
./Modules/posixmodule.c:7193: warning: the use of `tmpnam_r' is dangerous, better use `mkstemp'
libpython2.7.a(posixmodule.o): In function `posix_tempnam':
./Modules/posixmodule.c:7148: warning: the use of `tempnam' is dangerous, better use `mkstemp'
(...)
----------
nosy: +flox
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6965>
_______________________________________
More information about the Python-bugs-list
mailing list