Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LSH
lsh
Commits
8b0aa386
Commit
8b0aa386
authored
Oct 29, 2001
by
Niels Möller
Browse files
*** empty log message ***
Rev: ChangeLog:1.437 Rev: src/channel.c:1.106 Rev: src/client_session.c:1.14
parent
0e97f2d6
Changes
3
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
8b0aa386
2001-10-29 Niels Mller <nisse@ehand.com>
* src/testsuite/Makefile.am (TS_MORE_SH): Added lshg-1-test.
* src/server_session.c (do_eof): Signal EOF on the process' stdin.
2001-10-26 Niels Mller <nisse@ehand.com>
* src/sftp/sftp-server.c (sftp_process_read): Use the same type
...
...
src/channel.c
View file @
8b0aa386
...
...
@@ -1906,8 +1906,9 @@ channel_read_close_callback(struct lsh_callback *c)
trace
(
"channel_read_close_callback: File closed.
\n
"
);
assert
(
closure
->
channel
->
sources
);
if
(
!--
closure
->
channel
->
sources
)
closure
->
channel
->
sources
--
;
if
(
!
closure
->
channel
->
sources
)
{
/* Send eof, unless already done. */
channel_eof
(
closure
->
channel
);
...
...
src/client_session.c
View file @
8b0aa386
...
...
@@ -156,12 +156,14 @@ do_client_io(struct command *s UNUSED,
/* Setup escape char handler, if appropriate. */
session
->
in
->
read
=
client_read_stdin
(
session
);
/* FIXME: Perhaps there is some way to arrange that channel.c calls
* the CHANNEL_SEND_ADJUST method instead? */
if
(
session
->
super
.
send_window_size
)
lsh_oop_register_read_fd
(
session
->
in
);
/* FIXME: We should also arrange so that the tty is reset before we
* close it. */
session
->
in
->
close_callback
=
make_channel_read_close_callback
(
channel
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment