> *** /usr/src/usr.sbin/inetd/builtins.c Wed Sep 20 16:49:26 2000
> --- builtins.c Wed Jul 19 22:27:19 2000
> ***************
> *** 480,487 ****
> ssize = read(s, &buf[size], (size_t)onreadlen);
> if (ssize == -1)
> iderror(0, 0, s, errno);
> - else if (ssize == 0)
> - return;
> bufsiz -= ssize;
> size += ssize;
> }
> --- 480,485 ----
You don't wan't to return from the ident builtin, I'd actually
suggest "break;" to see if you've recieved enough of a request to
be able to answer. You may still be able to send data to the other
end, as they may just have shutdown half of the connection.
Alfred's patch with the iderror for the EOF case is reasonable,
but I'd be as lienient as possible and attempt to answer the request.
I'll test the patch with a break; when I get home and see if it
works OK. If alfred thinks it's OK I'll commit it.
David.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message