Return to tmux.c CVS log | Up to [local] / src / usr.bin / tmux |
version 1.208, 2021/07/06 08:26:00 | version 1.209, 2021/08/23 11:04:21 | ||
---|---|---|---|
|
|
||
free(paths); | free(paths); | ||
xasprintf(&base, "%s/tmux-%ld", path, (long)uid); | xasprintf(&base, "%s/tmux-%ld", path, (long)uid); | ||
free(path); | |||
if (mkdir(base, S_IRWXU) != 0 && errno != EEXIST) { | if (mkdir(base, S_IRWXU) != 0 && errno != EEXIST) { | ||
xasprintf(cause, "couldn't create directory %s (%s)", base, | xasprintf(cause, "couldn't create directory %s (%s)", base, | ||
strerror(errno)); | strerror(errno)); |