From cf7ad617d4ce46c6bac6ac28e5323ab53e3ef17b Mon Sep 17 00:00:00 2001 From: sabetts Date: Tue, 18 Nov 2003 05:06:35 +0000 Subject: * contrib/rpshowall.sh: store ratpoison binary location in RATPOISON env var. * src/ratpoison.h (FD_CLOEXEC): new define (set_close_on_exec): new prototype * src/main.c (ratpoison_longopts): add "interactive" option. (ratpoison_opts): likewise (print_help): print a help line for interactive option. (set_close_on_exec): new function (read_startup_files): call set_close_on_exec on file pointer (main): parse interactive command line option and pass it to send_command. * src/events.c (execute_remote_command): pass the interactive bit to command. * src/communications.c (send_command): send an interactive bit at the beginning of the message. Take an interactive argument. All callers updated. Prototype updated. * src/actions.c (cmd_source): call set_close_on_exec on file pointer. --- src/events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/events.c') diff --git a/src/events.c b/src/events.c index 85548a4..7221883 100644 --- a/src/events.c +++ b/src/events.c @@ -446,7 +446,7 @@ execute_remote_command (Window w) } PRINT_DEBUG (("command: %s\n", req)); - result = command (0, req); + result = command (req[0], &req[1]); XFree (req); return result; -- cgit v1.2.3