cleaner deletion of lock file

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1345 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud 2010-02-14 01:13:14 +00:00
parent 35121c58a8
commit 76887dd84d

8
io.c
View File

@ -345,10 +345,10 @@ void Release_lock_file(const char *file_directory)
}
#else
if (Lock_file_handle != -1)
//{
// close(Lock_file_handle);
// Lock_file_handle = -1;
//}
{
close(Lock_file_handle);
Lock_file_handle = -1;
}
#endif
// Actual deletion