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
2d95bd75
Commit
2d95bd75
authored
Dec 09, 1998
by
Niels Möller
Browse files
*** empty log message ***
Rev: doc/TODO:1.14 Rev: src/channel.h:1.19 Rev: src/lsh.c:1.27
parent
16bd346e
Changes
3
Hide whitespace changes
Inline
Side-by-side
doc/TODO
View file @
2d95bd75
...
...
@@ -115,3 +115,9 @@ Fix shadow passwd support.
Don't use stdio for werror and similar functions. The non-blocking
stderr sometime causes the C library to lose data.
Fix flow control.
The server's close message should somehow be delayed until the dead
process has been reaped. Alternatively, the client could delay sending
close until it has recieved the status.
src/channel.h
View file @
2d95bd75
...
...
@@ -71,7 +71,8 @@
; Called when we are allowed to send data on the channel.
(send method int)
; Called when the channel is closed
; Called when the channel is closed
; FIXME: Is this needed for anything?
(close method void)
; Called when eof is recieved on the channel (or when it is
...
...
src/lsh.c
View file @
2d95bd75
...
...
@@ -178,7 +178,10 @@ int main(int argc, char **argv)
/* Dup stdio file descriptors, so that they can be closed without
* confusing the c library. */
/* FIXME: This doesn't really help. (libc is confused by having a
* non-blocking stderr). It's better to avoid the stdio functions
* completely. */
if
(
(
in
=
dup
(
STDIN_FILENO
))
<
0
)
{
werror
(
"Can't dup stdin: %s
\n
"
,
strerror
(
errno
));
...
...
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