]> git.eshelyaron.com Git - emacs.git/commitdiff
(main): Use new safe location for socket.
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 12 Apr 2003 19:03:08 +0000 (19:03 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sat, 12 Apr 2003 19:03:08 +0000 (19:03 +0000)
lib-src/emacsclient.c

index 3f154a2c32543a4e4a208c6b24ea58e1a51850ac..180a79768d30eab8bb22e0998840128003baee56 100644 (file)
@@ -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);