From owner-freebsd-bugs Thu Jan 3 5: 0:11 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 375A437B41B for ; Thu, 3 Jan 2002 05:00:04 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g03D04B42514; Thu, 3 Jan 2002 05:00:04 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 971CB37B425 for ; Thu, 3 Jan 2002 04:54:47 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g03Cslp41692; Thu, 3 Jan 2002 04:54:47 -0800 (PST) (envelope-from nobody) Message-Id: <200201031254.g03Cslp41692@freefall.freebsd.org> Date: Thu, 3 Jan 2002 04:54:47 -0800 (PST) From: Gilbert Gong To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/33509: fix vnode_if.pl to internally call itself vnode_if.pl 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: 33509 >Category: kern >Synopsis: fix vnode_if.pl to internally call itself vnode_if.pl >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jan 03 05:00:04 PST 2002 >Closed-Date: >Last-Modified: >Originator: Gilbert Gong >Release: 4.4 >Organization: >Environment: FreeBSD devfrebsd.internal.net 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Tue Sep 18 11:57:08 PDT 2001 murray@builder.FreeBSD.org:/usr/src/sys/compile/GENERIC i386 >Description: vnode_if.pl creates the files vnode_if.c and vnode_if.h The tops of the files begin with this comment: /* * This file is produced automatically. * Do not modify anything in here by hand. * * Created from @(#)vnode_if.sh 8.1 (Berkeley) 6/10/93 */ This comment is both incorrect and confusing.. >How-To-Repeat: run vnode_if.pl, and inspect the files it creates, eg perl /usr/src/sys/kern/vnode_if.pl -c -h /usr/src/sys/kern/vnode_if.src head vnode_if.c head vnode_if.h >Fix: --- vnode_if.pl Thu Jan 3 05:56:47 2002 +++ vnode_if-new.pl Thu Jan 3 05:52:50 2002 @@ -39,7 +39,7 @@ # # Script to produce VFS front-end sugar. # -# usage: vnode_if.sh srcfile +# usage: vnode_if.pl srcfile # (where srcfile is currently /sys/kern/vnode_if.src) # @@ -61,7 +61,7 @@ } elsif ($arg =~ m/\.src$/) { $SRC = $arg; } else { - print "usage: vnode_if.sh [-c] [-h] srcfile\n"; + print "usage: vnode_if.pl [-c] [-h] srcfile\n"; exit(1); } } @@ -83,7 +83,7 @@ * This file is produced automatically. * Do not modify anything in here by hand. * - * Created from @(#)vnode_if.sh 8.1 (Berkeley) 6/10/93 + * Created from sys/kern/vnode_if.pl */ extern struct vnodeop_desc vop_default_desc; @@ -99,7 +99,7 @@ * This file is produced automatically. * Do not modify anything in here by hand. * - * Created from @(#)vnode_if.sh 8.1 (Berkeley) 6/10/93 + * Created from sys/kern/vnode_if.pl */ #include >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message