10 X's for mktemp(). This seems to be free from race conditions.
This commit is contained in:
parent
d5083ac4a1
commit
afb5459b5d
@ -41,4 +41,4 @@
|
||||
|
||||
#include <paths.h>
|
||||
|
||||
#define _PATH_TMPPORTAL "/tmp/portalXXXXXX" /* Scratch socket name */
|
||||
#define _PATH_TMPPORTAL "/tmp/portalXXXXXXXXXX" /* Scratch socket name */
|
||||
|
@ -41,4 +41,4 @@
|
||||
|
||||
#include <paths.h>
|
||||
|
||||
#define _PATH_TMPPORTAL "/tmp/portalXXXXXX" /* Scratch socket name */
|
||||
#define _PATH_TMPPORTAL "/tmp/portalXXXXXXXXXX" /* Scratch socket name */
|
||||
|
@ -41,4 +41,4 @@
|
||||
|
||||
#include <paths.h>
|
||||
|
||||
#define _PATH_TMPPORTAL "/tmp/portalXXXXXX" /* Scratch socket name */
|
||||
#define _PATH_TMPPORTAL "/tmp/portalXXXXXXXXXX" /* Scratch socket name */
|
||||
|
Loading…
Reference in New Issue
Block a user