Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Oct 2005 04:42:20 +0000 (UTC)
From:      Brooks Davis <brooks@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libutil trimdomain.c
Message-ID:  <200510050442.j954gKdn094670@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
brooks      2005-10-05 04:42:20 UTC

  FreeBSD src repository

  Modified files:
    lib/libutil          trimdomain.c 
  Log:
  When removing the local domain, only do so when the result will be a
  host name.  This is matches the documented behaviro.  The previous
  behavior would remove the domain name even if the result retained a dot.
  
  This fixes rsh connections from a.example.com to example.com.
  
  Reviewed by:    ceri (at least the concept)
  
  Revision  Changes    Path
  1.6       +1 -3      src/lib/libutil/trimdomain.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510050442.j954gKdn094670>