Mercurial > emacs
diff lib-src/emacsclient.c @ 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 | e5f56d47b52c |
| children | 76d453ac3c4f |
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);
