Fix bug in populate_games where only first game would be seen (!)

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@178 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
This commit is contained in:
Joshua Kwan 2004-01-27 09:05:39 +00:00
parent beb01998dd
commit 2c83144f25
1 changed files with 3 additions and 0 deletions

View File

@ -451,6 +451,9 @@ populate_games (int *l)
fl.l_type = F_UNLCK; fl.l_type = F_UNLCK;
fcntl (fd, F_SETLK, &fl); fcntl (fd, F_SETLK, &fl);
fl.l_type = F_WRLCK;
close (fd); close (fd);
} }