mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
whoops, lockf was invalid
This commit is contained in:
parent
1db044ca4e
commit
a97723c5c2
@ -2733,7 +2733,7 @@ atomic_read_contents(string &contents) const {
|
|||||||
|
|
||||||
#else // WIN32_VC
|
#else // WIN32_VC
|
||||||
string os_specific = to_os_specific();
|
string os_specific = to_os_specific();
|
||||||
int fd = open(os_specific.c_str(), O_RDONLY | O_CREAT, 0666);
|
int fd = open(os_specific.c_str(), O_RDWR | O_CREAT, 0666);
|
||||||
if (fd < 0) {
|
if (fd < 0) {
|
||||||
perror(os_specific.c_str());
|
perror(os_specific.c_str());
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user