diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2016-04-26 11:19:27 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2016-04-26 11:22:18 +0200 |
commit | a86e9fd6e1320fdd317b8cc604470afc8e709186 (patch) | |
tree | a502a3223acdb0d337bbeb0ea620559b2e8d475b /cpp.h | |
parent | 01a9a2a5a8c56ce8699616a608a28de4e537ff56 (diff) |
cpp: Use mkstemps() to create unique temporary file
Use mkstemps() to safely create a unique temporary file instead of using
rand() to manually create a (potentially unsafe) temporary filename.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'cpp.h')
0 files changed, 0 insertions, 0 deletions