convenience function to listen on an arbitrary Unix socket
Submitted by Simon McVittie
Assigned to Simon McVittie
Description
As Guillaume said in https://bugzilla.gnome.org/show_bug.cgi?id=631314, "Most of the time when I create an UNIX socket, I don't care about its path and just want a socket in the temporary directory."
At the moment we use tmpnam(), which makes the compiler warn (we are in fact using it safely, as far as I can see, but the compiler can't know that). This branch replaces _tp_create_temp_unix_socket with a function following Dan Winship's suggestions on the GNOME bug.
Version: git master