From: Stefan Monnier Date: Sat, 12 Apr 2003 19:03:08 +0000 (+0000) Subject: (main): Use new safe location for socket. X-Git-Tag: ttn-vms-21-2-B4~10533 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=caa4df2b5de3cc9933c9284b68e5723fbbaca7b1;p=emacs.git (main): Use new safe location for socket. --- 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);