Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Mar 2006 13:18:48 -0800
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Dag-Erling Smorgrav <des@FreeBSD.org>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/tools/tools/tinderbox tbmaster.pl
Message-ID:  <20060321211848.GA87662@flame.pc>
In-Reply-To: <200603210808.k2L88xvQ014794@repoman.freebsd.org>
References:  <200603210808.k2L88xvQ014794@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2006-03-21 08:08, Dag-Erling Smorgrav <des@FreeBSD.org> wrote:
> des         2006-03-21 08:08:58 UTC
>
>   FreeBSD src repository
>
>   Modified files:
>     tools/tools/tinderbox tbmaster.pl
>   Log:
>   Open the lock file write-only.
>
>   Revision  Changes    Path
>   1.62      +1 -1      src/tools/tools/tinderbox/tbmaster.pl

For anyone wondering why this change is needed, if you try to use
tbmaster.pl on a Solaris box (i.e. to control a number of your own,
custom tinderbox runs[1]), the flock() call on a file descriptor that is
not opened write-only fails with EBADF.

[1] Thank you Dag-Erling for making tbmaster and the tinderbox scripts
available.  My builds for some Solaris-based stuff are so much easier
using these scripts that I owe you a lot of beer :)




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