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
e79b9183
Commit
e79b9183
authored
Sep 27, 2001
by
Niels Möller
Browse files
*** empty log message ***
Rev: ChangeLog:1.421 Rev: src/server_session.c:1.71
parent
402be2cc
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
e79b9183
2001-09-27 Niels Mller <nisse@ehand.com>
* src/server_session.h (window_change_request_handler): Declare
object.
* src/lshd.c (main): Install window_change_request_handler for
session channels.
* src/tcpforward_commands.c: Made some more objects static.
* src/spki_commands.c (spki_parse_key): Deleted class.
...
...
src/server_session.c
View file @
e79b9183
...
...
@@ -351,6 +351,8 @@ static int make_pty(struct pty_info *pty, int *in, int *out, int *err)
in
[
1
]
=
pty
->
master
;
/* Ownership of the fd:s passes on to some file objects. */
/* FIXME: This doesn't quite work, we need the slave fd around
* for window_change_request. */
pty
->
super
.
alive
=
0
;
/* FIXME: It seems unnecessary to dup the fd:s here. But perhaps
...
...
@@ -948,7 +950,7 @@ do_alloc_pty(struct channel_request *c UNUSED,
tty_setwinsize
(
pty
->
slave
,
&
dims
))
{
REMEMBER_RESOURCE
(
channel
->
resources
,
&
pty
->
super
);
verbose
(
" granted.
\n
"
);
COMMAND_RETURN
(
s
,
NULL
);
...
...
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