# HG changeset patch # User nenolod # Date 1161544363 25200 # Node ID 46576f74b3a1cf67066ca68277747e2d05371934 # Parent 90d95cd7edb507cfa445529b7771013bc0b6e9bc [svn] - use rand() instead diff -r 90d95cd7edb5 -r 46576f74b3a1 ChangeLog --- a/ChangeLog Sun Oct 22 11:54:51 2006 -0700 +++ b/ChangeLog Sun Oct 22 12:12:43 2006 -0700 @@ -1,3 +1,15 @@ +2006-10-22 18:54:51 +0000 William Pitcock + revision [2737] + - remove mkdtemp(). + - if mkdtemp() is unavailable, use /tmp/audacious.SYSTEMTIME as path. + + trunk/audacious/Makefile | 1 + trunk/audacious/mkdtemp.c | 130 ---------------------------------------------- + trunk/audacious/util.c | 8 ++ + trunk/audacious/util.h | 5 - + 4 files changed, 7 insertions(+), 137 deletions(-) + + 2006-10-22 18:38:20 +0000 Derek Pomery revision [2735] Patch by Michael Hanselmann to fetch a per-song image file. diff -r 90d95cd7edb5 -r 46576f74b3a1 audacious/util.c --- a/audacious/util.c Sun Oct 22 11:54:51 2006 -0700 +++ b/audacious/util.c Sun Oct 22 12:12:43 2006 -0700 @@ -323,7 +323,7 @@ return NULL; } #else - tmpdir = g_strdup_printf("%s/audacious.%ld", g_get_tmp_dir(), time(NULL)); + tmpdir = g_strdup_printf("%s/audacious.%ld", g_get_tmp_dir(), rand()); make_directory(tmpdir, mode755); #endif