projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fb6285
)
No spaces in temp file names
author
Art Cancro
<ajc@citadel.org>
Tue, 5 Feb 2008 21:52:03 +0000
(21:52 +0000)
committer
Art Cancro
<ajc@citadel.org>
Tue, 5 Feb 2008 21:52:03 +0000
(21:52 +0000)
libcitadel/lib/tools.c
patch
|
blob
|
history
diff --git
a/libcitadel/lib/tools.c
b/libcitadel/lib/tools.c
index 606449da1d6ae270244b6b005025b6498e4a5c21..17981796e041b619c4969d33539668e74bac632d 100644
(file)
--- a/
libcitadel/lib/tools.c
+++ b/
libcitadel/lib/tools.c
@@
-820,7
+820,7
@@
void CtdlMakeTempFileName(char *name, int len) {
int i = 0;
while (i++, i < 100) {
- snprintf(name, len, "/tmp/ctdl.%4lx.%04x",
+ snprintf(name, len, "/tmp/ctdl.%
0
4lx.%04x",
(long)getpid(),
rand()
);