GNOME Bugzilla – Bug 558104
[patch] patch to add solaris 10 support to gthumb
Last modified: 2009-09-10 20:04:57 UTC
Please describe the problem: A user submitted a patch to allow gthumb to be compiled on solaris 10. Patch can be found here: http://bugs.gentoo.org/show_bug.cgi?id=243206#c2 Thanks for looking Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information:
Hmm. The mktemp man page at http://linux.die.net/man/3/mktemp says: Never use mktemp(). Some implementations follow 4.3BSD and replace XXXXXX by the current process ID and a single letter, so that at most 26 different names can be returned. Since on the one hand the names are easy to guess, and on the other hand there is a race between testing whether the name exists and opening the file, every use of mktemp() is a security risk. The race is avoided by mkstemp(3). - Mike
Christophe, Is there a gio-ish way to purge mkdtemp from trunk? - Mike
mkdtemp is not used in the active development branch (ext branch). Closing as obsolete. - Mike