From f794385d8f028107b2e53f0d92d82bed19236d28 Mon Sep 17 00:00:00 2001 From: Jimmy Olgeni Date: Tue, 20 Feb 2007 19:38:32 +0000 Subject: Remove some debug code that was included into the release. --- lang/erlang/files/patch-lib_ssh_src_ssh__cli.erl | 23 ++++++++++++++++++++++ lang/erlang14/files/patch-lib_ssh_src_ssh__cli.erl | 23 ++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 lang/erlang/files/patch-lib_ssh_src_ssh__cli.erl create mode 100644 lang/erlang14/files/patch-lib_ssh_src_ssh__cli.erl (limited to 'lang') diff --git a/lang/erlang/files/patch-lib_ssh_src_ssh__cli.erl b/lang/erlang/files/patch-lib_ssh_src_ssh__cli.erl new file mode 100644 index 000000000000..f329d3512bae --- /dev/null +++ b/lang/erlang/files/patch-lib_ssh_src_ssh__cli.erl @@ -0,0 +1,23 @@ + +$FreeBSD$ + +--- lib/ssh/src/ssh_cli.erl.orig ++++ lib/ssh/src/ssh_cli.erl +@@ -161,17 +161,12 @@ + handle_info({ssh_cm, _CM, + {window_change, _Channel, Width, Height, PixWidth, PixHeight}}, + State) -> +- erlang:display(?LINE), + #state{buf = Buf, pty = Pty, cm = CM, channel = Channel} = State, +- erlang:display(?LINE), + NewPty = Pty#ssh_pty{width = Width, height = Height, + pixel_width = PixWidth, + pixel_height = PixHeight}, +- erlang:display(?LINE), + {Chars, NewBuf} = io_request({window_change, Pty}, Buf, NewPty), +- erlang:display(?LINE), + write_chars(CM, Channel, Chars), +- erlang:display(?LINE), + {noreply, State#state{pty = NewPty, buf = NewBuf}}; + handle_info({Group, Req}, State) when Group==State#state.group -> + ?dbg(?DBG_IO_REQUEST, "io_request: ~w\n", [Req]), diff --git a/lang/erlang14/files/patch-lib_ssh_src_ssh__cli.erl b/lang/erlang14/files/patch-lib_ssh_src_ssh__cli.erl new file mode 100644 index 000000000000..f329d3512bae --- /dev/null +++ b/lang/erlang14/files/patch-lib_ssh_src_ssh__cli.erl @@ -0,0 +1,23 @@ + +$FreeBSD$ + +--- lib/ssh/src/ssh_cli.erl.orig ++++ lib/ssh/src/ssh_cli.erl +@@ -161,17 +161,12 @@ + handle_info({ssh_cm, _CM, + {window_change, _Channel, Width, Height, PixWidth, PixHeight}}, + State) -> +- erlang:display(?LINE), + #state{buf = Buf, pty = Pty, cm = CM, channel = Channel} = State, +- erlang:display(?LINE), + NewPty = Pty#ssh_pty{width = Width, height = Height, + pixel_width = PixWidth, + pixel_height = PixHeight}, +- erlang:display(?LINE), + {Chars, NewBuf} = io_request({window_change, Pty}, Buf, NewPty), +- erlang:display(?LINE), + write_chars(CM, Channel, Chars), +- erlang:display(?LINE), + {noreply, State#state{pty = NewPty, buf = NewBuf}}; + handle_info({Group, Req}, State) when Group==State#state.group -> + ?dbg(?DBG_IO_REQUEST, "io_request: ~w\n", [Req]), -- cgit v1.2.3