Mercurial > hg > xemacs-beta
diff src/console-tty.c @ 5814:a216b3c2b09e
Add TLS support. See xemacs-patches message with ID
<CAHCOHQk6FNm2xf=XiGEpPq43+7WOzNZ=SuD9V79o3wb9WVCTrQ@mail.gmail.com>.
author | Jerry James <james@xemacs.org> |
---|---|
date | Tue, 07 Oct 2014 21:16:10 -0600 |
parents | 56144c8593a8 |
children |
line wrap: on
line diff
--- a/src/console-tty.c Thu Oct 02 10:19:00 2014 +0200 +++ b/src/console-tty.c Tue Oct 07 21:16:10 2014 -0600 @@ -137,7 +137,8 @@ } /* set_descriptor_non_blocking (tty_con->infd); */ - tty_con->instream = make_filedesc_input_stream (tty_con->infd, 0, -1, 0); + tty_con->instream = make_filedesc_input_stream (tty_con->infd, 0, -1, 0, + NULL); Lstream_set_buffering (XLSTREAM (tty_con->instream), LSTREAM_UNBUFFERED, 0); tty_con->instream = make_coding_input_stream (XLSTREAM (tty_con->instream), @@ -145,7 +146,8 @@ CODING_DECODE, LSTREAM_FL_READ_ONE_BYTE_AT_A_TIME); Lstream_set_buffering (XLSTREAM (tty_con->instream), LSTREAM_UNBUFFERED, 0); - tty_con->outstream = make_filedesc_output_stream (tty_con->outfd, 0, -1, 0); + tty_con->outstream = make_filedesc_output_stream (tty_con->outfd, 0, -1, 0, + NULL); tty_con->outstream = make_coding_output_stream (XLSTREAM (tty_con->outstream), get_coding_system_for_text_file (Qterminal, 0),