GNOME Bugzilla – Bug 524831
PATCH: add g_mkdtemp()
Last modified: 2008-08-15 03:28:31 UTC
I've found that it is often nice to have a function similar to mkdtemp() when writing a variety of applications. I've now implemented my own mkdtemp() equivalent over 3 times in various GNOME apps, so I think it might qualify as being useful to put into glib :)
Created attachment 108187 [details] [review] g_mkdtemp.patch
ping. any comments/suggestions?
This is a dupe of bug 118563. Over there, I commented that it might be a good idea to also add an analogue of g_file_open_tmp. void g_dir_create_tmp (const gchar *tmpl, gchar **name_used, GError **error); At the very least this will have to wait until 2.19 opens at this point.
*** This bug has been marked as a duplicate of 118563 ***