Date: Thu, 28 Feb 2002 14:31:56 +1100 (EST) From: Andrew <andrew@ugh.net.au> To: FreeBSD-gnats-submit@freebsd.org Subject: bin/35395: pwd_mkdb doesn't indicate which line is too long Message-ID: <20020228033156.7E36CA804@starbug.ugh.net.au>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020228033156.7E36CA804>