From owner-cvs-all Fri Oct 12 10:39:43 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 556D137B403; Fri, 12 Oct 2001 10:39:37 -0700 (PDT) Received: (from mike@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f9CHdbo30334; Fri, 12 Oct 2001 10:39:37 -0700 (PDT) (envelope-from mike) Message-Id: <200110121739.f9CHdbo30334@freefall.freebsd.org> From: Mike Barcroft Date: Fri, 12 Oct 2001 10:39:37 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/whois whois.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG mike 2001/10/12 10:39:37 PDT Modified files: usr.bin/whois whois.c Log: o Treat a buffer as a non-NUL terminated string, because the whois server may not return a new line character on the final line. o Remove the whois.networksolutions.com fallback code, which is no longer needed. o Instead of determining a hostname by terminating it when we see whitespace, only allow hostname characters and terminate the string when it's not such a character. o Add a small optimization in a for loop. PR: 30968 Reviewed by: -audit MFC after: 4 days Revision Changes Path 1.25 +25 -35 src/usr.bin/whois/whois.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message