mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-12-04 13:03:19 -05:00
Addresses review: between the existence check and the stream write, another process could delete or rename the target, and the write would then recreate it as an empty file. The target is now opened without FILE_SHARE_DELETE, so it can't be deleted or renamed until the zone is written, and the check reads that handle's metadata. Refs #8622