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:
parent
beb01998dd
commit
2c83144f25
|
@ -451,6 +451,9 @@ populate_games (int *l)
|
|||
fl.l_type = F_UNLCK;
|
||||
|
||||
fcntl (fd, F_SETLK, &fl);
|
||||
|
||||
fl.l_type = F_WRLCK;
|
||||
|
||||
close (fd);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue