From owner-cvs-projects Sat Mar 1 22:42:55 2003 Delivered-To: cvs-projects@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 687F737B401; Sat, 1 Mar 2003 22:42:54 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0967B43FBD; Sat, 1 Mar 2003 22:42:54 -0800 (PST) (envelope-from jmallett@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h226gr0U001813; Sat, 1 Mar 2003 22:42:53 -0800 (PST) (envelope-from jmallett@repoman.freebsd.org) Received: (from jmallett@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h226grCe001812; Sat, 1 Mar 2003 22:42:53 -0800 (PST) Message-Id: <200303020642.h226grCe001812@repoman.freebsd.org> From: Juli Mallett Date: Sat, 1 Mar 2003 22:42:53 -0800 (PST) To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: projects/sccs/help help.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG jmallett 2003/03/01 22:42:53 PST FreeBSD projects repository Modified files: sccs/help help.c Log: NUL terminate the key we read in via fgetln, and use a full string compare, instead of strncmp with the minimum possible length (the key length we are looking for) as that can result in lameness related to '-2686489' keys being matched for e.g. help 26 :/ Revision Changes Path 1.7 +2 -1 projects/sccs/help/help.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-projects" in the body of the message