Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | (quote_file_name): Pass COPY thru %s to output it. | Richard M. Stallman | 2004-07-17 | 1 | -1/+1 |
| | |||||
* | Throughout, replace 0 destined for `exit' arg with `EXIT_SUCCESS'. | Thien-Thi Nguyen | 2004-05-08 | 1 | -14/+13 |
| | | | | | Likewise, replace 1 with `EXIT_FAILURE'. (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value. | ||||
* | (decode_options): Fix handling of alternate editor. | Stefan Monnier | 2004-02-05 | 1 | -2/+2 |
| | |||||
* | (main): Don't use the hostname in the socket name. | Stefan Monnier | 2004-01-27 | 1 | -31/+14 |
| | | | | Look for relative socket names in the /tmp dir rather than in cwd. | ||||
* | (main): Restore errno from saved_errno, | Richard M. Stallman | 2004-01-24 | 1 | -0/+4 |
| | | | | so the error message comes from socket_status. | ||||
* | (main): Stop if socket name too long. | Stefan Monnier | 2004-01-20 | 1 | -6/+20 |
| | | | | | Only try su-fallback if the socket name was not explicit. Check socket name length in su-fallback case as well. | ||||
* | (main): Save errno from socket_status. | Andreas Schwab | 2004-01-08 | 1 | -2/+5 |
| | |||||
* | (main): Fix socket name when using another user. | Andreas Schwab | 2004-01-04 | 1 | -1/+1 |
| | |||||
* | Comment change. | Richard M. Stallman | 2003-10-13 | 1 | -3/+2 |
| | |||||
* | (quote_file_name): Print the result instead of | Eli Zaretskii | 2003-09-28 | 1 | -18/+44 |
| | | | | | | returning it. Fix the return type accordingly. (main): Under --eval, don't fail if left with additional arguments after decoding options. Quote file names. | ||||
* | Comment change. | Richard M. Stallman | 2003-09-19 | 1 | -1/+1 |
| | |||||
* | (socket_name): New variable. | Richard M. Stallman | 2003-09-12 | 1 | -2/+23 |
| | | | | | | | (longopts, decode_options, print_help_and_exit): Handle --socket-name argument. (main): Use socket_name. | ||||
* | Add arch taglines | Miles Bader | 2003-09-01 | 1 | -0/+3 |
| | |||||
* | (main): Fix having macros in a printf statement. | Juanma Barranquero | 2003-07-28 | 1 | -4/+4 |
| | |||||
* | (main): Use new safe location for socket. | Stefan Monnier | 2003-04-12 | 1 | -1/+1 |
| | |||||
* | (print_help_and_exit): Print to stdout. Exit successfully. Added some blank | Juanma Barranquero | 2003-03-12 | 1 | -8/+19 |
| | | | | | | | lines for readability. (decode_options): Don't call print_help_and_exit in default case. Print version information to stdout. (main): Don't call print_help_and_exit. | ||||
* | (main): Tell user how to start server within Emacs if socket could not | Stephen Eglen | 2002-12-02 | 1 | -1/+2 |
| | | | | be found. | ||||
* | (main): Test HAVE_GETCWD rather than BSD_SYSTEM. | Richard M. Stallman | 2002-12-02 | 1 | -6/+6 |
| | |||||
* | Remove reference to SERVER_HOME_DIR completely. | Markus Rost | 2002-10-01 | 1 | -3/+0 |
| | |||||
* | (main): Always use /tmp and non-qualified hostname. | Stefan Monnier | 2002-09-27 | 1 | -11/+6 |
| | |||||
* | Remove SYSV support. | Stefan Monnier | 2002-09-27 | 1 | -198/+52 |
| | | | | | | | | (eval, display): New vars. (longopts): Add --eval and --display. (decode_options): Add -e and -d processing. (print_help_and_exit): Update the usage string. (main): Add support for --eval and --display. | ||||
* | (quote_file_name): Quote \n. | Stefan Monnier | 2002-09-18 | 1 | -10/+22 |
| | | | | (main): Print a final \n when needed. | ||||
* | Include <config.h>. | Pavel Janík | 2001-12-29 | 1 | -1/+1 |
| | |||||
* | Include "config.h", not <../src/config.h>. | Pavel Janík | 2001-12-19 | 1 | -15/+17 |
| | | | | | (main): Parenthesize assignment when used as truth value to prevent gcc warnings. | ||||
* | (main): Cast isdigit() argument to unsigned char. | Gerd Moellmann | 2001-10-09 | 1 | -1/+1 |
| | | | | From Hallvard B Furuseth <[email protected]>. | ||||
* | (print_help_and_exit): Fix help message for | Gerd Moellmann | 2001-07-17 | 1 | -3/+5 |
| | | | | | | | +LINE:COLUMN option. (main): Add support for +LINE:COLUMN command line argument. | ||||
* | (fail): Don't return a value. | Dave Love | 2001-04-05 | 1 | -2/+3 |
| | | | | (main): Cast uid values for sprintf. | ||||
* | (fail, main): Don't use implicit int return type. | Gerd Moellmann | 2001-04-03 | 1 | -1/+4 |
| | |||||
* | (main): Remove unused local variable statbfr. | Eli Zaretskii | 2001-01-02 | 1 | -2/+4 |
| | | | | | (main) <homedir>: Make its declaration conditional on SERVER_HOME_DIR, to avoid compiler warnings. | ||||
* | (socket_status): New function. | Gerd Moellmann | 2000-01-28 | 1 | -15/+76 |
| | | | | | (main): if $LOGNAME or $USER exist and differ from our euid, look for a socket based on the UID associated with the name. | ||||
* | Add option -a EDITOR and environment variable | Gerd Moellmann | 2000-01-12 | 1 | -15/+50 |
| | | | | ALTERNATE_EDITOR. Exec this editor if we fail to contact Emacs. | ||||
* | Add support for large files. Merge glibc 2.1.2. | Paul Eggert | 1999-10-19 | 1 | -8/+1 |
| | | | | | | | | | | | | | | | | | | * 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. | ||||
* | (print_help_and_exit): Mention --version. | Richard M. Stallman | 1999-08-29 | 1 | -0/+3 |
| | |||||
* | (decode_options): Update version output. | Karl Heuer | 1999-08-25 | 1 | -2/+2 |
| | | | | (print_help_and_exit): Update bug report address. | ||||
* | (main): Move the dynamic allocation of | Karl Heuer | 1999-08-14 | 1 | -3/+6 |
| | | | | system_name outside of the SERVER_HOME_DIR conditional. | ||||
* | (main, both versions): Use quote_file_name on cwd. | Karl Heuer | 1999-04-29 | 1 | -4/+5 |
| | |||||
* | (xmalloc): Fix previous change. | Richard M. Stallman | 1999-01-25 | 1 | -1/+1 |
| | |||||
* | (xmalloc): Declare to return long. | Richard M. Stallman | 1999-01-25 | 1 | -1/+1 |
| | |||||
* | (main): Eliminate arbitrary limit on length of system_name. | Richard M. Stallman | 1999-01-16 | 1 | -6/+17 |
| | | | | (xmalloc): Define unconditionally. | ||||
* | (main): Null-terminate system_name. | Richard M. Stallman | 1998-10-10 | 1 | -0/+2 |
| | |||||
* | Move inclusion of unistd.h to top, else fails on | Dave Love | 1998-04-08 | 1 | -3/+3 |
| | | | | Irix6, at least. | ||||
* | Include <stdlib.h> and <unistd.h> if available. | Andreas Schwab | 1998-04-06 | 1 | -1/+9 |
| | | | | | | Don't declare geteuid. (print_help_and_exit): Change return type to void. Forward declare it. | ||||
* | [HAVE_SYSVIPC]: Include errno.h, as in the other case. | Richard M. Stallman | 1997-08-27 | 1 | -1/+14 |
| | | | | (main) [!BSD_SYSTEM]: Fix error message for getcwd failure. | ||||
* | [C_ALLOCA] (xmalloc): New function. | Richard M. Stallman | 1997-07-09 | 1 | -0/+17 |
| | |||||
* | Replaced all BSD with BSD_SYSTEM. | Karl Heuer | 1996-09-17 | 1 | -2/+2 |
| | |||||
* | (longopts): Change nowait to no-wait. | Richard M. Stallman | 1996-09-10 | 1 | -3/+3 |
| | | | | (print_help_and_exit): Fix option name; upcase metavars. | ||||
* | (quote_file_name): Quote with &, not \. | Richard M. Stallman | 1996-09-02 | 1 | -5/+6 |
| | | | | Quote `-' only at start of file name. Terminate the value string. | ||||
* | (quote_file_name): New function. | Richard M. Stallman | 1996-09-02 | 1 | -41/+58 |
| | | | | | | | (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. | ||||
* | (decode_options): New function. | Richard M. Stallman | 1996-09-01 | 1 | -16/+98 |
| | | | | | | (main, both versions): Call decode_options. (print_help_and_exit): New function. (VERSION): New macro | ||||
* | (both versions): Handle -nowait and --nowait by sending data to the server. | Richard M. Stallman | 1996-08-31 | 1 | -4/+33 |
| |