Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Jul 2003 15:54:46 +0100
From:      Ceri Davies <ceri@FreeBSD.org>
To:        WWW pseudo-user <www@FreeBSD.org>
Cc:        freebsd-doc@FreeBSD.org
Subject:   Re: FreeBSD web build failed on freefall.freebsd.org
Message-ID:  <20030701145446.GB57013@submonkey.net>
In-Reply-To: <200307011249.h61CnqFb033159@freefall.freebsd.org>
References:  <200307011249.h61CnqFb033159@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030701145446.GB57013>