- changed status to resolved
mktemp should be replaced with mkstemp
Issue #216
resolved
Compiling with gcc 7.2. I get at linking:
src/BDSTemporaryFiles.cc:58: warning: the use of `mktemp' is dangerous, better use `mkstemp'
https://linux.die.net/man/3/mktemp says "Never use mktemp()."
To get the filename, note that mkstemp will replace the argument given with the filename.
Comments (1)
-
- Log in to comment
Fix Issue
#216.→ <<cset 5f34d2bed659>>