Karl Heuer
3bd8b59d60
Fix 1996-09-02 change.
1996-10-22 17:34:26 +00:00
Erik Naggum
4893a43797
(main): Declare `fromlen' as size_t, undo previous change.
1996-09-07 01:06:09 +00:00
Richard M. Stallman
37de9e5d47
(main): Declare `fromunix' as size_t.
1996-09-04 15:20:19 +00:00
Richard M. Stallman
8fb25e2680
Include signal.h properly;
...
delete the duplicate includes for it.
1996-09-02 05:45:58 +00:00
Richard M. Stallman
d8888efa0f
On fatal signal, delete socket-file:
...
Include signal.h.
(xmalloc, fatal, error): New functions.
(delete_socket, handle_signals): New functions.
(progname, socket_name): New variables.
[HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
1996-09-02 05:39:36 +00:00
Karl Heuer
d283640e03
Undo previous change.
1996-07-16 22:39:31 +00:00
Karl Heuer
c275f129ae
[__GNU_LIBRARY__]: Use size_t for fromlen.
1996-07-15 21:26:39 +00:00
Miles Bader
cbd1aee2b1
(main) [HAVE_SOCKETS]: Call rewind before writing to infile.
1996-07-03 02:05:29 +00:00
Erik Naggum
3b7ad313e0
Update FSF's address in the preamble.
1996-01-15 09:18:04 +00:00
Karl Heuer
cbf5f47c32
(main): Do chmod based on existing permission.
1996-01-03 04:23:26 +00:00
Richard M. Stallman
ccd318fb5b
Make all error messages start with `Error: '.
...
(fatal_error, perror_1): New functions, use throughout.
1995-06-28 20:10:12 +00:00
Richard M. Stallman
1e523e3da8
Test NO_SOCKETS_IN_FILE_SYSTEM.
1995-04-11 01:44:46 +00:00
Richard M. Stallman
d1e203d20c
Use BSD sockets whenever available, even if HAVE_SYSVIPC.
1995-03-15 23:32:19 +00:00
Richard M. Stallman
021eac48bf
[HAVE_SYSVIPC]: Include sys/utsname.h.
...
(main): If socket/mqueue name is in home dir, add in the host name.
Rename .emacs_server to .emacs-server-....
1994-12-07 07:38:00 +00:00
Richard M. Stallman
b8a0f2d8ab
[SYSV_IPC] (main): Catch SIGHUP as well. Don't
...
call kill with pid 0. Handle EINTR when receiving messages.
1994-10-18 11:23:18 +00:00
Roland McGrath
86af296ba1
[! SYSVIPC] (main): Fix uses of FD_* macros: fd_set arg is a pointer,
...
descriptor arg comes first.
1994-10-10 04:55:59 +00:00
Karl Heuer
b38bab94e5
(FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already defined, use simple
...
32-bit versions of these macros.
(main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
1994-09-17 00:02:50 +00:00
Richard M. Stallman
2f3179987f
[SYSV_IPC] (main): Make a separate process
...
so we can listen for multiple requests.
1994-08-08 07:08:17 +00:00
Richard M. Stallman
ae24c599eb
(main): Add casts to avoid warnings.
1994-08-01 07:43:30 +00:00
Richard M. Stallman
f662f9b05b
(main): Don't declare geteuid.
...
Don't declare getenv if convex.
1994-06-23 19:26:02 +00:00
Richard M. Stallman
9e3891de7c
(main) [HAVE_SYSVIPC]: Reverse test of fork value.
1994-02-08 23:57:30 +00:00
Roland McGrath
18160b98ce
Include <config.h> instead of "config.h".
1993-09-10 06:15:46 +00:00
Richard M. Stallman
908d6b8719
Include types.h before file.h.
1993-07-20 05:16:51 +00:00
Jim Blandy
2fdfe0796e
* emacsserver.c (main): When we're passing a `struct sockaddr_un'
...
to bind or accept, cast the pointer, to avoid warnings on systems
which declare prototypes for this.
1993-06-09 12:41:31 +00:00
Richard M. Stallman
5ed8e09c1d
#undef signal.
1993-06-01 08:08:38 +00:00
Jim Blandy
d4327fecc1
entered into RCS
1992-04-24 08:11:28 +00:00
Jim Blandy
1464f5d50e
*** empty log message ***
1991-12-21 07:03:14 +00:00
Richard M. Stallman
d953f30677
Initial revision
1991-03-04 02:59:40 +00:00