Commit graph

32 commits

Author SHA1 Message Date
Dave Love
79f13bba7d Move inclusion of unistd.h to top, else fails on
Irix6, at least.
1998-04-08 17:31:45 +00:00
Andreas Schwab
7f3bff3e4c Include <stdlib.h> and <unistd.h> if available.
Don't declare geteuid.
(print_help_and_exit): Change return type to void.  Forward
declare it.
1998-04-06 10:13:46 +00:00
Richard M. Stallman
bd25266244 [HAVE_SYSVIPC]: Include errno.h, as in the other case.
(main) [!BSD_SYSTEM]: Fix error message for getcwd failure.
1997-08-27 20:08:59 +00:00
Richard M. Stallman
0c76956f83 [C_ALLOCA] (xmalloc): New function. 1997-07-09 19:20:34 +00:00
Karl Heuer
e397a0172f Replaced all BSD with BSD_SYSTEM. 1996-09-17 02:37:17 +00:00
Richard M. Stallman
749ae7700e (longopts): Change nowait to no-wait.
(print_help_and_exit): Fix option name; upcase metavars.
1996-09-10 02:00:27 +00:00
Richard M. Stallman
f1db6a73ef (quote_file_name): Quote with &, not \.
Quote `-' only at start of file name.  Terminate the value string.
1996-09-02 17:43:32 +00:00
Richard M. Stallman
5212210c8f (quote_file_name): New function.
(main, both versions): Use quote_file_name.
(decode_options): Don't return a value.
(main, both versions): Use optind.
Don't check for -nowait here.
1996-09-02 00:05:56 +00:00
Richard M. Stallman
8f9aaa0a81 (decode_options): New function.
(main, both versions): Call decode_options.
(print_help_and_exit): New function.
(VERSION): New macro
1996-09-01 18:25:21 +00:00
Richard M. Stallman
292d74a338 (both versions): Handle -nowait and --nowait by sending data to the server. 1996-08-31 16:25:21 +00:00
Richard M. Stallman
23a7488dea (main) [HAVE_SOCKETS]: Use two separate stdio
streams, one for sending and one for reading the reply.
1996-07-23 14:18:34 +00:00
Karl Heuer
dc3c30fec0 (main, both definitions): Print a newline for normal termination. 1996-02-21 20:53:01 +00:00
Erik Naggum
3b7ad313e0 Update FSF's address in the preamble. 1996-01-15 09:18:04 +00:00
Richard M. Stallman
26396b1bda (main): Add argv[0] to an error message. 1995-04-18 20:50:19 +00:00
Karl Heuer
18a2fa9174 (main): Improve error handling. 1995-04-14 02:10:52 +00:00
Richard M. Stallman
1e523e3da8 Test NO_SOCKETS_IN_FILE_SYSTEM. 1995-04-11 01:44:46 +00:00
Richard M. Stallman
7e1251a15e [Berkeley sockets version] (main): Declare getcwd. 1995-04-07 01:01:25 +00:00
Richard M. Stallman
ee6a193c4c Use BSD sockets whenever available, even if HAVE_SYSVIPC.
(main): Use getcwd if not BSD.
1995-03-15 23:31:02 +00:00
Richard M. Stallman
b135a7cf0b [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-....

[!HAVE_SYSVIPC] (main): Fix error message diction.
1994-12-07 07:39:23 +00:00
David J. MacKenzie
340ff9deae Eliminate some -Wall warnings. 1994-10-12 20:21:51 +00:00
Richard M. Stallman
defb80d7ad (main): New local var progname saves argv[0]. 1994-07-27 17:59:03 +00:00
Richard M. Stallman
cd33a5a086 (main): Don't actually modify argv[0]. Modify a copy instead. 1994-07-26 19:56:03 +00:00
Richard M. Stallman
1518a9eb45 (main) [HAVE_SYSVIPC]: Make msgp->mtext longer if necessary.
On HPUX, error if it's more than 512 chars.
1994-03-05 21:42:57 +00:00
Roland McGrath
2771160004 [! HAVE_STRERROR] (strerror): Define the function. 1994-01-08 22:27:30 +00:00
Roland McGrath
92af894ffd Don't declare sys_errlist; declare strerror instead.
(main): Call strerror instead of using sys_errlist.
1994-01-08 21:43:57 +00:00
Roland McGrath
18160b98ce Include <config.h> instead of "config.h". 1993-09-10 06:15:46 +00:00
Jim Blandy
4e23f2ba8b * 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.
	* emacsclient.c (main): Same.
1993-06-09 12:45:26 +00:00
Richard M. Stallman
61a93162c6 entered into RCS 1992-08-22 07:10:23 +00:00
Jim Blandy
c0acc3e1cd *** empty log message *** 1992-07-17 21:04:37 +00:00
Jim Blandy
efb859b44a *** empty log message *** 1992-01-14 08:05:08 +00:00
Michael I. Bushnell
bdd512ede4 *** empty log message *** 1992-01-09 06:37:22 +00:00
Richard M. Stallman
46cec291bb Initial revision 1991-09-02 20:23:32 +00:00