mktemp: in /tmp by default

This commit is contained in:
K. Lange 2018-10-30 16:45:03 +09:00
parent 0282e6281e
commit 947d8ddde7
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ int main(int argc, char * argv[]) {
int i = optind;
if (i == argc) {
template = strdup("tmp.XXXXXX");
template = strdup("/tmp/tmp.XXXXXX");
} else {
template = strdup(argv[i]);
}