Index: cups/tempfile.c =================================================================== --- cups/tempfile.c (revision 8880) +++ cups/tempfile.c (working copy) @@ -118,8 +118,8 @@ * Format a string using the hex time values... */ - snprintf(filename, len - 1, "%s/%08lx%05lx", tmpdir, - (unsigned long)curtime.tv_sec, (unsigned long)curtime.tv_usec); + snprintf(filename, len - 1, "%s/%05lx%08lx", tmpdir, getpid(), + (unsigned long)(curtime.tv_sec + curtime.tv_usec + tries)); #endif /* WIN32 */ /*