Date: Sat, 1 Mar 2003 22:42:53 -0800 (PST) From: Juli Mallett <jmallett@FreeBSD.org> To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: projects/sccs/help help.c Message-ID: <200303020642.h226grCe001812@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <keyfile>26 :/
Revision Changes Path
1.7 +2 -1 projects/sccs/help/help.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303020642.h226grCe001812>
