Hi,
I just submitted a patch for the FilePlugin that enables deletion of read-only files on Windows. With this patch the VM treats deletion of read-only files on Windows the same way it does on *nix systems (except for the issue of open file handles, but that’s another story…).
This patch is especially important for dealing with external tools (e.g. Git) which mark private files as read-only.
http://bugs.squeak.org/view.php?id=7836
Cheers, Max
Hi Max,
thank you! I just verified it for the CogVM #3477 with Windows 10, Cygwin (32-bit), and GCC 4.9.2. It works. Find attached the patch file.
Note that there was also another bug.
sqWin32FilePrims.patch http://forum.world.st/file/n4856703/sqWin32FilePrims.patch
Best, Marcel
-- View this message in context: http://forum.world.st/Patch-FilePlugin-for-Windows-can-now-delete-read-only-... Sent from the Squeak VM mailing list archive at Nabble.com.
vm-dev@lists.squeakfoundation.org