Subject: bug#41242: Port feature/native-comp to Windows

From: Andrea Corallo <[email-masked]>
Date: Wed, 13 May 2020 20:08:43 +0000

Eli Zaretskii <[email-masked]> writes:

>> From: Nicolas Bértolo <[email-masked]>
>> Date: Wed, 13 May 2020 16:26:57 -0300
>> 
>> * `package-delete` fails because it tries to delete the .eln file via
>>   `delete-file`. This is impossible in Windows because it's generally impossible
>>   to delete files that have an open HANDLE in the system.
>
> Is that the handle from LoadLibrary?  If so, cannot we close the
> handle once the .eln file is loaded?

AFAIU we cannot close the handle till we have code around (compiled Lisp
function) coming from the eln.

Andrea

PS BTW I see now we never close the handle but this is a bug, I'll fix now.

-- 
[email-masked]