From owner-freebsd-bugs Wed Feb 27 19:40:32 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id DBE3137B41A for ; Wed, 27 Feb 2002 19:40:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1S3e1P76781; Wed, 27 Feb 2002 19:40:01 -0800 (PST) (envelope-from gnats) Received: from starbug.ugh.net.au (starbug.ugh.net.au [203.31.238.37]) by hub.freebsd.org (Postfix) with ESMTP id 55F8A37B405 for ; Wed, 27 Feb 2002 19:31:58 -0800 (PST) Received: by starbug.ugh.net.au (Postfix, from userid 1000) id 7E36CA804; Thu, 28 Feb 2002 14:31:56 +1100 (EST) Message-Id: <20020228033156.7E36CA804@starbug.ugh.net.au> Date: Thu, 28 Feb 2002 14:31:56 +1100 (EST) From: Andrew Reply-To: Andrew To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: bin/35395: pwd_mkdb doesn't indicate which line is too long Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 35395 >Category: bin >Synopsis: pwd_mkdb doesn't indicate which line is too long >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Feb 27 19:40:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Andrew >Release: FreeBSD 4.5-STABLE i386 >Organization: UgH! >Environment: System: FreeBSD starbug.ugh.net.au 4.5-STABLE FreeBSD 4.5-STABLE #4: Wed Jan 30 17:17:14 EST 2002 andrew@starbug.ugh.net.au:/usr/obj/usr/src/sys/STARBUG i386 >Description: When pwd_mkdb complains that a line is too long it doesn't give the line number making it hard to track down the problem (which alas isn't always because a line is too long). >How-To-Repeat: >Fix: --- /usr/src/usr.sbin/pwd_mkdb/pwd_mkdb.c Sat Apr 15 13:32:00 2000 +++ pwd_mkdb.c Thu Feb 28 14:27:15 2002 @@ -502,7 +502,7 @@ * -- The Who */ if (!(p = strchr(line, '\n'))) { - warnx("line too long"); + warnx("line #%d too long", lcnt); goto fmt; } >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message