From owner-cvs-all@FreeBSD.ORG Wed Jan 10 22:15:27 2007 Return-Path: X-Original-To: cvs-all@freebsd.org Delivered-To: cvs-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D53FB16A412; Wed, 10 Jan 2007 22:15:27 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 50A6013C457; Wed, 10 Jan 2007 22:15:27 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (host5.bedc.ondsl.gr [62.103.39.229]) (authenticated bits=128) by igloo.linux.gr (8.13.8/8.13.8/Debian-3) with ESMTP id l0AM4R4i022010 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 11 Jan 2007 00:04:37 +0200 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.13.8/8.13.8) with ESMTP id l0AM47tn010895; Thu, 11 Jan 2007 00:04:20 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.13.8/8.13.8/Submit) id l0AM47Wg010894; Thu, 11 Jan 2007 00:04:07 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Thu, 11 Jan 2007 00:04:06 +0200 From: Giorgos Keramidas To: "Simon L. Nielsen" Message-ID: <20070110220406.GA10849@kobe.laptop> References: <200701101747.l0AHld1U015012@repoman.freebsd.org> <20070110214608.GC998@zaphod.nitro.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070110214608.GC998@zaphod.nitro.dk> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.47, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.73, BAYES_00 -2.60, DNS_FROM_RFC_ABUSE 0.20) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: Tom Rhodes , Daniel Gerzo , doc-committers@freebsd.org, cvs-doc@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: www/en/cgi query-pr-lib.pl query-pr-summary.cgi query-pr.cgi X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jan 2007 22:15:28 -0000 On 2007-01-10 22:46, "Simon L. Nielsen" wrote: > On 2007.01.10 17:47:39 +0000, Daniel Gerzo wrote: > > danger 2007-01-10 17:47:39 UTC > > > > FreeBSD doc repository > > > > Modified files: > > en/cgi query-pr-summary.cgi query-pr.cgi > > Added files: > > en/cgi query-pr-lib.pl > > Log: > > Merge query-by-number and multi-field query forms. > > This work included: > > > > - move a few functions out of query-pr-summary.cgi into a new file - > > query-pr-lib.pl, which now provides a procedure to display forms > > - include query-pr-lib.pl in both query-pr.cgi and query-pr-summary.cgi > > scripts > > > > PR: www/35647 > > Approved by: trhodes (mentor), keramida (mentor) > > Silence from: www@ > > [simon@zaphod:~] fetch http://www.freebsd.org/cgi/query-pr-summary.cgi > fetch: http://www.freebsd.org/cgi/query-pr-summary.cgi: Internal Server Error > > [Wed Jan 10 21:42:56 2007] [error] [client 69.147.83.37] Can't locate ./query-pr-lib.pl in @INC (@INC contains: /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.8/mach /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8) at /www/sites/www.freebsd.org/data/cgi/query-pr.cgi line 39. > [Wed Jan 10 21:42:56 2007] [error] [client 69.147.83.37] Premature end of script headers: query-pr.cgi That's odd. './cgi-lib.pl' is in the same path and it doesn't seem to have the same problems. There is a difference between cgi-lib.pl and query-pr-lib.pl but I'm not sure if this has anything to do with failing to find './query-pr-lib.pl' without @INC. The cgi-lib.pl script starts with: #!/usr/bin/perl -- -*- C -*- But the query-pr-lib.pl script starts with: #!/usr/bin/perl -Tw Is there any case the -Tw switches break 'query-pr-lib.pl' as a module?