[Ohrrpgce] [ohrrpgce/ohrrpgce] Hero editor and other RELOAD lumps failing to save changes (#36)

Ralph Versteegen notifications at github.com
Fri Dec 27 22:56:37 PST 2019


I'm currently working on this.

Very interestingly, Windows actually has an "oplock" (opportunistic lock) API that virus scanners/etc can use to access files without preventing other programs from deleting or opening those files with desired access modes (however, I'm not 100% sure whether that includes renaming): https://devblogs.microsoft.com/oldnewthing/?p=4663
When a program tries to access the file it waits and whoever holds the oplock is signalled and given a chance to clean up and let go of their handle.
So as Raymond says, any virus scanner that breaks programs by interfering with deletion or rename is "not well-written" (i.e. buggy). That doesn't change the fact that we need to work around their bugginess.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/ohrrpgce/ohrrpgce/issues/36#issuecomment-569392866
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20191227/c757f4e7/attachment.html>


More information about the Ohrrpgce mailing list