cleaner deletion of lock file
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1345 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
35121c58a8
commit
76887dd84d
8
io.c
8
io.c
@ -345,10 +345,10 @@ void Release_lock_file(const char *file_directory)
|
|||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
if (Lock_file_handle != -1)
|
if (Lock_file_handle != -1)
|
||||||
//{
|
{
|
||||||
// close(Lock_file_handle);
|
close(Lock_file_handle);
|
||||||
// Lock_file_handle = -1;
|
Lock_file_handle = -1;
|
||||||
//}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Actual deletion
|
// Actual deletion
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user