gfile.cc: openTempFile() function
Status: Beta
Brought to you by:
meshko
warning: the use of `tmpnam' is dangerous, better
use `mkstemp'
I looked at the code because I am a security freak and
I modified it accordingly.
The patch basically creates
#if HAVE_MKSTEMPS
#elif HAVE_MKSTEMP
#else
#endif
as opposed to
#if HAVE_MKSTEMPS
#else
#endif
#if HAVE_MKSTEMP
#else
#endif
I hope this patch sits well with you ..
patch to goo/gfile.cc