diff options
author | olgeni <olgeni@FreeBSD.org> | 2007-02-21 03:38:32 +0800 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2007-02-21 03:38:32 +0800 |
commit | 1f1c1aecfa200e5ab1f0c5227d6c27aee98bd101 (patch) | |
tree | 156062c9f31e77fe6ca904f2ba089ff1a1048c3d /lang/erlang14 | |
parent | d55f881f08e04baa4b1079b1ebaefd9ddb1b3620 (diff) | |
download | freebsd-ports-gnome-1f1c1aecfa200e5ab1f0c5227d6c27aee98bd101.tar.gz freebsd-ports-gnome-1f1c1aecfa200e5ab1f0c5227d6c27aee98bd101.tar.zst freebsd-ports-gnome-1f1c1aecfa200e5ab1f0c5227d6c27aee98bd101.zip |
Remove some debug code that was included into the release.
Diffstat (limited to 'lang/erlang14')
-rw-r--r-- | lang/erlang14/files/patch-lib_ssh_src_ssh__cli.erl | 23 |
1 files changed, 23 insertions, 0 deletions
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]), |