changeset 50566:f49f74eda2e6

(main): Use new safe location for socket.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sat, 12 Apr 2003 19:03:08 +0000
parents cd863af50ea1
children 1b32397dd4e2
files lib-src/emacsclient.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/emacsclient.c	Sat Apr 12 17:28:24 2003 +0000
+++ b/lib-src/emacsclient.c	Sat Apr 12 19:03:08 2003 +0000
@@ -347,7 +347,7 @@
   {
     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);