Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:yukoff:openSUSE:Leap:42.1:Backports
tmux.4995
tmux-socket-path.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File tmux-socket-path.patch of Package tmux.4995
# Use /run/tmux instead of /tmp as the default socket path, this add some # robustness against accidental deletion via systemd-tmpfiles-clean, tmpwatch, # or similar # # <crrodriguez@opensuse.org> --- tmux.c.orig 2015-03-01 22:46:05.000000000 +0100 +++ tmux.c 2015-07-09 09:40:19.853421647 +0200 @@ -138,7 +138,7 @@ else if ((s = getenv("TMPDIR")) != NULL && *s != '\0') xsnprintf(base, sizeof base, "%s/tmux-%u", s, uid); else - xsnprintf(base, sizeof base, "%s/tmux-%u", _PATH_TMP, uid); + xsnprintf(base, sizeof base, "/run/tmux/%u", uid); if (mkdir(base, S_IRWXU) != 0 && errno != EEXIST) return (NULL);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor