Return to server.c CVS log | Up to [local] / src / usr.bin / tmux |
version 1.158, 2016/03/30 13:20:07 | version 1.159, 2016/07/07 09:24:09 | ||
---|---|---|---|
|
|
||
if (stat(socket_path, &sb) != 0) | if (stat(socket_path, &sb) != 0) | ||
return; | return; | ||
mode = sb.st_mode; | mode = sb.st_mode & ACCESSPERMS; | ||
if (n != 0) { | if (n != 0) { | ||
if (mode & S_IRUSR) | if (mode & S_IRUSR) | ||
mode |= S_IXUSR; | mode |= S_IXUSR; |