cvs commit: src/tools/tools/tinderbox tbmaster.pl

Giorgos Keramidas keramida at ceid.upatras.gr
Tue Mar 21 22:11:05 UTC 2006


On 2006-03-21 08:08, Dag-Erling Smorgrav <des at 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 :)



More information about the cvs-src mailing list