summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2003-04-12 19:03:08 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2003-04-12 19:03:08 +0000
commitd9587c1de6f07a2afa125e3c0015d4e5343d5738 (patch)
tree6371513c27ed6a3ad2ac49307810af7b21e2be77
parentf13035461b95ad4e97dec2c2e9112c8ce08d8869 (diff)
downloademacs-d9587c1de6f07a2afa125e3c0015d4e5343d5738.tar.gz
(main): Use new safe location for socket.
-rw-r--r--lib-src/emacsclient.c2
1 files changed, 1 insertions, 1 deletions
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);