Commit 66b53ba2 authored by Niels Möller's avatar Niels Möller
Browse files

* src/sexp_conv.c (main): Pass HANDLER_CONTEXT.

Rev: ChangeLog:1.104
Rev: src/sexp_conv.c:1.8
parent 79878b37
1999-10-11 Niels Mller <nisse@cuckoo.localdomain>
* src/sexp_conv.c (main): Pass HANDLER_CONTEXT.
* src/sexp_commands.c (make_read_sexp_exception_handler): Added
context argument.
(do_read_sexp): Pass HANDLER_CONTEXT.
* src/sexp.c (lookup_sexp_format): Use strcmp rather than
strcasecmp.
(sexp_input_argp, sexp_output_argp): Split sexp_argp into two
parsers.
* src/server_userauth.c (make_exc_userauth_handler): Added context
argument.
(do_userauth): Pass HANDLER_CONTEXT.
* src/server_session.c (do_spawn_shell): Pass HANDLER_CONTEXT.
* src/io.c (io_iter): Poll only on active fd:s.
(init_file): Pass HANDLER_CONTEXT.
(make_exc_finish_read_handler): Added context argument.
* src/exception.h (exception_handler): Added context attribute.
(HANDLER_CONTEXT): New macro.
* src/exception.c (make_exception_handler): Added context argument.
(make_report_exception_handler): -"-
(exception_raise): New function.
* src/connection_commands.c (do_connection): Pass HANDLER_CONTEXT.
* src/connection.c (make_exc_protocol_handler): Added context argument.
(connection_init_io): Pass HANDLER_CONTEXT.
* src/command.h: Use DEBUG_TRACE.
* src/command.c (make_trace): Define only if DEBUG_TRACE is
defined.
(make_catch_handler): Added context argument.
(do_catch_apply): Pass HANDLER_CONTEXT.
* src/client.c (do_client_io): Pass HANDLER_CONTEXT.
* src/channel.c (make_exc_finish_channel_handler): New context
argument.
(make_channel_io_exception_handler): -"-
(register_channel): Pass HANDLER_CONTEXT.
* configure.in: Bumbed version number to 0.1.13.
* src/sexp_conv.c (main): Make both input and output formats
configurable.
......
......@@ -155,7 +155,9 @@ int main(int argc, char **argv)
struct io_fd *in = make_io_fd(backend, STDIN_FILENO, e);
/* Fixing the exception handler creates a circularity */
e->parent = make_exc_finish_read_handler(&in->super, &default_exception_handler);
e->parent = make_exc_finish_read_handler(&in->super,
&default_exception_handler,
HANDLER_CONTEXT);
COMMAND_CALL(work, in,
&discard_continuation, e);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment