From owner-cvs-all@FreeBSD.ORG Thu Dec 22 00:34:56 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C04E116A41F; Thu, 22 Dec 2005 00:34:56 +0000 (GMT) (envelope-from brooks@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 333DF43D7E; Thu, 22 Dec 2005 00:34:49 +0000 (GMT) (envelope-from brooks@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id jBM0Yn2b053277; Thu, 22 Dec 2005 00:34:49 GMT (envelope-from brooks@repoman.freebsd.org) Received: (from brooks@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id jBM0Yn6T053276; Thu, 22 Dec 2005 00:34:49 GMT (envelope-from brooks) Message-Id: <200512220034.jBM0Yn6T053276@repoman.freebsd.org> From: Brooks Davis Date: Thu, 22 Dec 2005 00:34:49 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/lib/libutil trimdomain.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2005 00:34:57 -0000 brooks 2005-12-22 00:34:49 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libutil trimdomain.c Log: MFC rev 1.6: 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. This is also reported to fix rsh connections from host xxx to yyy.example.com. PR: 88301 Revision Changes Path 1.5.10.1 +1 -3 src/lib/libutil/trimdomain.c