Andreas Schneider wrote:
 File File::createTemporaryFile() {
+#if defined(OS_WINDOWS)
        return File(tempnam(NULL, NULL));
+#else
+       return File(mktemp("/tmp/wengoXXXXXX"));
+#endif
 }

I just read that mktemp is not safe easier and that mkstemp should be used instead.
Pb: mkstemp has a different prototype than mktemp

--
Tanguy Krotoff <[EMAIL PROTECTED]>
http://openwengo.org
_______________________________________________
Wengophone-devel mailing list
[email protected]
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Reply via email to