Pop up error when locking toerny file fails
authorH.G.Muller <hgm@hgm-xboard.(none)>
Tue, 18 Jun 2019 15:03:11 +0000 (17:03 +0200)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Tue, 18 Jun 2019 15:03:11 +0000 (17:03 +0200)
commit7dda741fdfbf8ca233fde718f4b759119cce20bb
tree091478e7f89b6cc0a9524b0e121a0b8ec17d79cd
parent1637c7a00c79290ddc3e2b3604d2c50d2c4b6ac4
Pop up error when locking toerny file fails

The WinBoard implementation of flock is made compatible with the Linux
version, returning 0 for success and -1 for fail. ReserveGame now tests
this, and makes us drop out of tournament mode with an error popup when
a failure occurs.
backend.c
winboard/winboard.c