Mercurial > emacs
comparison lib-src/emacsserver.c @ 23413:2a5d56cc4e41
Whitespace change.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Sat, 10 Oct 1998 21:20:48 +0000 |
| parents | 2ce0e36402ff |
| children | 33b162fe4507 |
comparison
equal
deleted
inserted
replaced
| 23412:2ce0e36402ff | 23413:2a5d56cc4e41 |
|---|---|
| 249 exit (1); | 249 exit (1); |
| 250 } | 250 } |
| 251 server.sun_family = AF_UNIX; | 251 server.sun_family = AF_UNIX; |
| 252 #ifndef SERVER_HOME_DIR | 252 #ifndef SERVER_HOME_DIR |
| 253 gethostname (system_name, sizeof (system_name)); | 253 gethostname (system_name, sizeof (system_name)); |
| 254 /* system_name must be null-terminated string */ | 254 /* system_name must be null-terminated string */ |
| 255 system_name[sizeof (system_name) - 1] = '\0'; | 255 system_name[sizeof (system_name) - 1] = '\0'; |
| 256 sprintf (server.sun_path, "/tmp/esrv%d-%s", geteuid (), system_name); | 256 sprintf (server.sun_path, "/tmp/esrv%d-%s", geteuid (), system_name); |
| 257 | 257 |
| 258 if (unlink (server.sun_path) == -1 && errno != ENOENT) | 258 if (unlink (server.sun_path) == -1 && errno != ENOENT) |
| 259 { | 259 { |
| 260 perror_1 ("unlink"); | 260 perror_1 ("unlink"); |
