OpenSSH 3.0

Shun-ichi GOTO gotoh at taiyo.co.jp
Wed Nov 7 21:01:30 EST 2001


>>>>> at Wed, 7 Nov 2001 10:28:12 +0100
>>>>> markus == Markus Friedl <markus at openbsd.org> said,
markus> On Wed, Nov 07, 2001 at 03:07:30PM +0900, Shun-ichi GOTO wrote:
> +		he = gethostbyname(p);

markus> 1) this blocks.

ouch!
I have no plan for non-blocking way.
I'll withdraw that patch.


markus> 2) gethostbyname is obsolete

In original source directory, I can get following result, so I use it.
## of corse, 2nd is by me.

$ grep gethostbyname *.c
auth-krb4.c:			if ((hp = gethostbyname(localhost)) == NULL) {
channels.c:		he = gethostbyname(hostname);
logintest.c:	if (! (he = gethostbyname("localhost"))) {


P.S.
OpenSSH 3.0p1 works fine on BSD/OS 4.0.1.

--- Regards,
 Shun-ichi Goto  <gotoh at taiyo.co.jp>
   R&D Group, TAIYO Corp., Tokyo, JAPAN



More information about the openssh-unix-dev mailing list