From owner-cvs-all Wed Jan 24 19:40:38 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 BFBDA37B400; Wed, 24 Jan 2001 19:40:17 -0800 (PST) Received: (from will@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0P3eHP40568; Wed, 24 Jan 2001 19:40:17 -0800 (PST) (envelope-from will) Message-Id: <200101250340.f0P3eHP40568@freefall.freebsd.org> From: Will Andrews Date: Wed, 24 Jan 2001 19:40:17 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/apply apply.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG will 2001/01/24 19:40:17 PST Modified files: usr.bin/apply apply.c Log: Fix bogus checking of snprintf() by decreasing the remaining size of the string after each successful snprintf() call. This makes apply(1) work *correctly*, although the whole snprintf() deal really should be redone. Bug noted by: nectar (about 3 weeks ago) Revision Changes Path 1.15 +4 -1 src/usr.bin/apply/apply.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message