From owner-freebsd-doc@FreeBSD.ORG Tue Jul 1 07:54:48 2003 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 641C237B404; Tue, 1 Jul 2003 07:54:48 -0700 (PDT) Received: from shrike.submonkey.net (pc1-cdif2-5-cust38.cdif.cable.ntl.com [81.101.150.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5518243FE1; Tue, 1 Jul 2003 07:54:47 -0700 (PDT) (envelope-from setantae@submonkey.net) Received: from setantae by shrike.submonkey.net with local (Exim 4.20) id 19XMWs-000ErQ-EK; Tue, 01 Jul 2003 15:54:46 +0100 Date: Tue, 1 Jul 2003 15:54:46 +0100 From: Ceri Davies To: WWW pseudo-user Message-ID: <20030701145446.GB57013@submonkey.net> Mail-Followup-To: Ceri Davies , WWW pseudo-user , freebsd-doc@FreeBSD.org References: <200307011249.h61CnqFb033159@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="i0/AhcQY5QxfSsSZ" Content-Disposition: inline In-Reply-To: <200307011249.h61CnqFb033159@freefall.freebsd.org> User-Agent: Mutt/1.5.4i Sender: Ceri Davies cc: freebsd-doc@FreeBSD.org Subject: Re: FreeBSD web build failed on freefall.freebsd.org X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jul 2003 14:54:48 -0000 --i0/AhcQY5QxfSsSZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jul 01, 2003 at 05:49:52AM -0700, WWW pseudo-user wrote: > =3D=3D=3D> ../ja/prstats/../../tools/prstats > ./go.tcl /c/gnats > couldn't open "/c/gnats/spam/20030426005031.98774.in": no such file or di= rectory > while executing > "open $fn" > (procedure "PR" line 5) > invoked from within > "PR $pr" > ("foreach" body line 2) > invoked from within > "foreach pr [glob $gnatsdir] { > PR $pr > } > " > (file "./go.tcl" line 45) Hmm. This failed due to me cleaning up some of the stored spam. The script currently just globs everything together when it's first invoked, and then assumes that it will be able to open everything it saw. I've put together a little patch that does two things, one of which may be stupid. I also don't know TCL in any depth, so please could someone who does review it. It's at http://people.freebsd.org/~ceri/go.tcl.diff. The first part of the patch simply skips a PR if it can't be opened (this is the bit that may be stupid), while the second part makes sure that only real PRs are added to the list in the first place (the above file shouldn't have been considered anyway). Cheer, Ceri --=20 User: DO YOU ACCEPT JESUS CHRIST AS YOUR PERSONAL LORD AND SAVIOR? Iniaes: Sure, I can accept all forms of payment. -- www.chatterboxchallenge.com --i0/AhcQY5QxfSsSZ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/AaC2ocfcwTS3JF8RAo9sAJ9hiBvR+/ienVsf6BJBuuyWs+w33wCeNhgV FlVdUCzqk+B36wrTv4torJ8= =uEkt -----END PGP SIGNATURE----- --i0/AhcQY5QxfSsSZ--