diff options
| author | Stefan Monnier | 2003-04-12 19:03:08 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2003-04-12 19:03:08 +0000 |
| commit | caa4df2b5de3cc9933c9284b68e5723fbbaca7b1 (patch) | |
| tree | d5e54623defee829505bc7c28ce42b09ee7adb35 /lib-src | |
| parent | 335028c3bef914c14349d48a77262890d010a5e1 (diff) | |
| download | emacs-caa4df2b5de3cc9933c9284b68e5723fbbaca7b1.tar.gz emacs-caa4df2b5de3cc9933c9284b68e5723fbbaca7b1.zip | |
(main): Use new safe location for socket.
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/emacsclient.c | 2 |
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) | |||
| 347 | { | 347 | { |
| 348 | int sock_status = 0; | 348 | int sock_status = 0; |
| 349 | 349 | ||
| 350 | sprintf (server.sun_path, "/tmp/esrv%d-%s", (int) geteuid (), system_name); | 350 | sprintf (server.sun_path, "/tmp/emacs%d-%s/server", (int) geteuid (), system_name); |
| 351 | 351 | ||
| 352 | /* See if the socket exists, and if it's owned by us. */ | 352 | /* See if the socket exists, and if it's owned by us. */ |
| 353 | sock_status = socket_status (server.sun_path); | 353 | sock_status = socket_status (server.sun_path); |