Merge branch 'obsd-master' into master

This commit is contained in:
Thomas Adam
2021-08-23 16:06:46 +01:00
14 changed files with 352 additions and 258 deletions

1
tmux.c
View File

@ -207,6 +207,7 @@ make_label(const char *label, char **cause)
free(paths);
xasprintf(&base, "%s/tmux-%ld", path, (long)uid);
free(path);
if (mkdir(base, S_IRWXU) != 0 && errno != EEXIST) {
xasprintf(cause, "couldn't create directory %s (%s)", base,
strerror(errno));