I need to create a unique temporary file and use it with C++ streams. With older C++ libraries under Linux (RH 7.3/G++ 2.96/libstdc++-2.96), I could use mkstemp() to create and open file and then make it a stream by passing the fd to fstream(). The newer iostream library does not seem to have this conversion available. I could use one of the other temp file creation function, by they all say 'don't use this function, it is a security risk, use mkstemp() instead'. So, how do I deal with this? Not use C++ iostreams? Write insecure code? Write my own fstream class that is layered on top of file descriptors (yech!).
\/ Robert Heller ||InterNet: [EMAIL PROTECTED] http://vis-www.cs.umass.edu/~heller || [EMAIL PROTECTED] http://www.deepsoft.com /\FidoNet: 1:321/153 _______________________________________________ Help-gplusplus mailing list Help-gplusplus@gnu.org http://lists.gnu.org/mailman/listinfo/help-gplusplus