[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#18658: 24.3; deformed server-socket-dir

From: Lars Ingebrigtsen
Subject: bug#18658: 24.3; deformed server-socket-dir
Date: Thu, 13 Aug 2020 12:01:29 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Devon Sean McCullough <Emacs-Hacker2014@jovi.net> writes:

> Double slashes in server-socket-dir is a bug waiting to happen.


> -       (format "%s/emacs%d" (or (getenv "TMPDIR") "/tmp") (user-uid)))
> +       (expand-file-name (format "emacs%d" 
> +                              (user-uid))
> +                      (or (getenv "TMPDIR")
> +                          "/tmp")))

Thanks; I applied a version of this to Emacs 28.

(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

reply via email to

[Prev in Thread] Current Thread [Next in Thread]