From owner-freebsd-ports Thu Feb 1 6:40:24 2001 Delivered-To: freebsd-ports@freebsd.org Received: from m08.alpha-net.ne.jp (m08.alpha-net.ne.jp [210.229.64.38]) by hub.freebsd.org (Postfix) with ESMTP id AEB2E37B67D for ; Thu, 1 Feb 2001 06:40:02 -0800 (PST) Received: from kyoto-tc012-p94.alpha-net.ne.jp (kyoto-tc012-p94.alpha-net.ne.jp [210.237.119.222]) by m08.alpha-net.ne.jp (8.9.3/3.7W) with ESMTP id XAA03477 for ; Thu, 1 Feb 2001 23:39:53 +0900 (JST) Received: from souffle.bogus-local.net (localhost [127.0.0.1]) by kyoto-tc012-p94.alpha-net.ne.jp (Postfix) with ESMTP id 87A9816B41 for ; Thu, 1 Feb 2001 23:39:56 +0900 (JST) Date: Thu, 01 Feb 2001 23:39:56 +0900 Message-ID: <86zog6a2mb.wl@cheerful.com> From: FUJISHIMA Satsuki To: ports@FreeBSD.org Subject: call for review: portlint User-Agent: Wanderlust/2.4.0 (Rio) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) Emacs/20.7 (i386--freebsd) MULE/4.1 (AOI) MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Currently portlint points "unnecessary blank line at the last part" warning for many files/patch-*, but this warning is unnecessary. Those patches made with diff -u sometimes includes some '0x20\n' at the end of file. This patch is to ignore such a patch files. I'm going to commit this in a few days if no one have object. -- FUJISHIMA Satsuki Index: Makefile =================================================================== RCS file: /home/ncvs/ports/devel/portlint/Makefile,v retrieving revision 1.42 diff -u -r1.42 Makefile --- Makefile 2000/12/12 14:24:12 1.42 +++ Makefile 2001/02/01 14:21:05 @@ -8,7 +8,7 @@ # PORTNAME= portlint -PORTVERSION= 2.3 +PORTVERSION= 2.3.1 CATEGORIES= devel MASTER_SITES= # none DISTFILES= # none Index: src/portlint.pl =================================================================== RCS file: /home/ncvs/ports/devel/portlint/src/portlint.pl,v retrieving revision 1.25 diff -u -r1.25 portlint.pl --- src/portlint.pl 2000/12/31 18:59:43 1.25 +++ src/portlint.pl 2001/02/01 14:33:19 @@ -572,7 +572,7 @@ &perror("FATAL: the last line of $file has to be ". "terminated by \\n."); } - if ($whole =~ /\n([ \t]*\n)+$/) { + if ($whole =~ /\n([ \t]*\n)+$/ and $whole !~ /\n( \n)+$/) { &perror("WARN: $file seems to have unnecessary blank lines ". "at the last part."); } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message