openssh-cvs on GNU/Hurd

Ben Lindstrom mouring at etoh.eviladmin.org
Thu Apr 11 02:33:24 EST 2002


On Wed, 10 Apr 2002, James A Morrison wrote:

>
>  Ok,
> I think the patch is going to look mostly the same ;)
>
> There is one problem from me getting to that point.  MAXHOSTNAMELEN is defined
> by openssh and I can't find where.  I have only been able to determine it
> is set to 64.
>

Should not be.

ChangeLog:
[..]
20001231
 - (bal) Reverted out of MAXHOSTNAMELEN.  This should be set per OS.
   for multiple reasons.

[..]

20001230
 - (bal) if no MAXHOSTNAMELEN is defined.  Default to 64 character defination.
   Suggested by Christian Kurz <shorty at debian.org>


Then we don't attempt to set it if the OS does not have that by default
(which most do, just HURD it seems lacks it, but we had this politic
discussion before).  There was a private discussion on the commit list
after this change which caused me to revert out of setting it for the
broader case.

Doing a grep in the CVS tree shows no where we set it.

- Ben





More information about the openssh-unix-dev mailing list