From caa4df2b5de3cc9933c9284b68e5723fbbaca7b1 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Sat, 12 Apr 2003 19:03:08 +0000 Subject: [PATCH] (main): Use new safe location for socket. --- lib-src/emacsclient.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index 3f154a2c325..180a79768d3 100644 --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c @@ -347,7 +347,7 @@ main (argc, argv) { int sock_status = 0; - sprintf (server.sun_path, "/tmp/esrv%d-%s", (int) geteuid (), system_name); + sprintf (server.sun_path, "/tmp/emacs%d-%s/server", (int) geteuid (), system_name); /* See if the socket exists, and if it's owned by us. */ sock_status = socket_status (server.sun_path); -- 2.11.4.GIT