aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src/emacsserver.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove emacsserver.Stefan Monnier2002-09-251-599/+0
|
* Include <config.h>.Pavel Janík2001-12-291-1/+1
|
* Conditionally include config.h.Pavel Janík2001-12-191-5/+9
|
* Include "config.h", not <../src/config.h>.Dave Love2001-12-181-1/+1
|
* (main): Cast geteuid in sprintf to int.Gerd Moellmann2001-10-091-1/+1
| | | | From Hallvard B Furuseth <[email protected]>.
* (main) <homedir>: Make its declaration conditionalEli Zaretskii2001-01-021-0/+2
| | | | on SERVER_HOME_DIR, to avoid compiler warnings.
* Add support for large files. Merge glibc 2.1.2.Paul Eggert1999-10-191-10/+2
| | | | | | | | | | | | | | | | | | * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c, movemail.c, pop.c: Do not include <stdlib.h>, as <config.h> does this now. * b2m.c, emacsserver.c, etags.c, profile.c: Include <config.h> before any system include files. * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c, test-distrib.c: (read, write, open, close): Do not undef. * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix: (const): Do not define if HAVE_CONFIG_H; that's config.h's job. * getopt.h: Adopt glibc 2.1.2.
* Include <stdlib.h> if available. Don't declare errno if it's a macro.Andreas Schwab1999-08-301-0/+6
|
* (main): Move the dynamic allocation ofKarl Heuer1999-08-141-3/+2
| | | | system_name outside of the SERVER_HOME_DIR conditional.
* (perror_1, fatal_error): Don't compile unless needed.Karl Heuer1999-02-221-1/+1
|
* (main): Eliminate arbitrary limit onRichard M. Stallman1999-01-161-4/+18
|
* Whitespace change.Richard M. Stallman1998-10-101-2/+2
|
* (main): Null-terminate system_name.Richard M. Stallman1998-10-101-0/+2
|
* Include <unistd.h> if available.Andreas Schwab1998-04-061-0/+12
| | | | | (main, handle_signals, perror_1, fatal_error): Explicitly declare return types. Add forward declarations.
* (main): use SOCKLEN_TYPE for fromlen, if it is defined.Richard M. Stallman1997-08-141-0/+4
|
* Fix 1996-09-02 change.Karl Heuer1996-10-221-1/+1
|
* (main): Declare `fromlen' as size_t, undo previous change.Erik Naggum1996-09-071-3/+3
|
* (main): Declare `fromunix' as size_t.Richard M. Stallman1996-09-041-1/+2
|
* Include signal.h properly;Richard M. Stallman1996-09-021-3/+1
| | | | delete the duplicate includes for it.
* On fatal signal, delete socket-file:Richard M. Stallman1996-09-021-1/+130
| | | | | | | | 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.
* Undo previous change.Karl Heuer1996-07-161-6/+1
|
* [__GNU_LIBRARY__]: Use size_t for fromlen.Karl Heuer1996-07-151-1/+7
|
* (main) [HAVE_SOCKETS]: Call rewind before writing to infile.Miles Bader1996-07-031-0/+1
|
* Update FSF's address in the preamble.Erik Naggum1996-01-151-1/+2
|
* (main): Do chmod based on existing permission.Karl Heuer1996-01-031-1/+9
|
* Make all error messages start with `Error: '.Richard M. Stallman1995-06-281-24/+38
| | | | (fatal_error, perror_1): New functions, use throughout.
* Test NO_SOCKETS_IN_FILE_SYSTEM.Richard M. Stallman1995-04-111-1/+1
|
* Use BSD sockets whenever available, even if HAVE_SYSVIPC.Richard M. Stallman1995-03-151-1/+1
|
* [HAVE_SYSVIPC]: Include sys/utsname.h.Richard M. Stallman1994-12-071-4/+16
| | | | | (main): If socket/mqueue name is in home dir, add in the host name. Rename .emacs_server to .emacs-server-....
* [SYSV_IPC] (main): Catch SIGHUP as well. Don'tRichard M. Stallman1994-10-181-1/+12
| | | | call kill with pid 0. Handle EINTR when receiving messages.
* [! SYSVIPC] (main): Fix uses of FD_* macros: fd_set arg is a pointer,Roland McGrath1994-10-101-6/+6
| | | | descriptor arg comes first.
* (FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already defined, use simpleKarl Heuer1994-09-171-6/+30
| | | | | 32-bit versions of these macros. (main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
* [SYSV_IPC] (main): Make a separate processRichard M. Stallman1994-08-081-9/+40
| | | | so we can listen for multiple requests.
* (main): Add casts to avoid warnings.Richard M. Stallman1994-08-011-2/+3
|
* (main): Don't declare geteuid.Richard M. Stallman1994-06-231-1/+2
| | | | Don't declare getenv if convex.
* (main) [HAVE_SYSVIPC]: Reverse test of fork value.Richard M. Stallman1994-02-081-2/+5
|
* Include <config.h> instead of "config.h".Roland McGrath1993-09-101-1/+1
|
* Include types.h before file.h.Richard M. Stallman1993-07-201-1/+1
|
* * emacsserver.c (main): When we're passing a `struct sockaddr_un'Jim Blandy1993-06-091-2/+2
| | | | | to bind or accept, cast the pointer, to avoid warnings on systems which declare prototypes for this.
* #undef signal.Richard M. Stallman1993-06-011-0/+1
|
* entered into RCSJim Blandy1992-04-241-2/+3
|
* *** empty log message ***Jim Blandy1991-12-211-7/+15
|
* Initial revisionRichard M. Stallman1991-03-041-0/+318