Commit 2d95bd75 authored by Niels Möller's avatar 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
......@@ -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.
......@@ -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
......
......@@ -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));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment