$XDG_RUNTIME_DIR is the place where to put socket files these days. It seems good practice to create a sub-directory as well, perhaps we create more files there in the future.
The fallback to write in /tmp remains for the rare occasions where $XDG_RUNTIME_DIR cannot be used. You can view, comment on, or merge this pull request online at: https://github.com/geany/geany/pull/2222 -- Commit Summary -- * prefer XDG_RUNTIME_DIR over /tmp for the socket -- File Changes -- M src/socket.c (31) -- Patch Links -- https://github.com/geany/geany/pull/2222.patch https://github.com/geany/geany/pull/2222.diff -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/2222
