summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-queue.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2013-10-10 12:03:22 +0000
committernicm <nicm@openbsd.org>2013-10-10 12:03:22 +0000
commit2b80f9f79ca16547b1ee25ae860bf09df0c1b713 (patch)
tree00716892efe4421baf4613843a9c63517900e692 /usr.bin/tmux/cmd-queue.c
parentMark flags as optional and mutually exclusive. From Tiago Cunha. (diff)
downloadwireguard-openbsd-2b80f9f79ca16547b1ee25ae860bf09df0c1b713.tar.xz
wireguard-openbsd-2b80f9f79ca16547b1ee25ae860bf09df0c1b713.zip
Don't treat TMUX_TMPDIR as a potential file
The point of setting TMUX_TMPDIR is to then make any labels from -L go to that directory. In the case of makesocketpath() with no TMUX_TMPDIR set, would set both the path and the default socket to a file. The checking of the permissions on the file worked fine in that case, but when TMUX_TMPDIR is set, won't work on a directory. This fixes the problem by ensuring the check on the permissions is performed on directories only. By Thomas Adam.
Diffstat (limited to 'usr.bin/tmux/cmd-queue.c')
0 files changed, 0 insertions, 0 deletions