From: Devon Sean McCullough <Emacs-Hacker2014@jovi.net>
To: 18658@debbugs.gnu.org
Subject: bug#18658: 24.3; deformed server-socket-dir
Date: Tue, 7 Oct 2014 15:57:58 -0400 [thread overview]
Message-ID: <56FE6C1F-CA39-417F-9C43-CB2351BE2D71@jovi.net> (raw)
Double slashes in server-socket-dir is a bug waiting to happen.
Peace
--Devon
P.S. Fix follows:
--- lisp/server.el.~1~ 2014-10-07 13:27:34.000000000 -0400
+++ lisp/server.el 2014-10-07 13:34:03.000000000 -0400
@@ -266,7 +266,10 @@
;; does not read the init file.
(defvar server-socket-dir
(and (featurep 'make-network-process '(:family local))
- (format "%s/emacs%d" (or (getenv "TMPDIR") "/tmp") (user-uid)))
+ (expand-file-name (format "emacs%d"
+ (user-uid))
+ (or (getenv "TMPDIR")
+ "/tmp")))
"The directory in which to place the server socket.
If local sockets are not supported, this is nil.")
next reply other threads:[~2014-10-07 19:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-07 19:57 Devon Sean McCullough [this message]
2014-10-10 1:03 ` bug#18658: 24.3; deformed server-socket-dir Glenn Morris
2020-08-13 10:01 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56FE6C1F-CA39-417F-9C43-CB2351BE2D71@jovi.net \
--to=emacs-hacker2014@jovi.net \
--cc=18658@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.