Home GnuPG
Diffusion GnuPG e71aca2a628d

common: New function gnupg_remove_ext.
e71aca2a628dUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

common: New function gnupg_remove_ext.

* common/sysutils.c (gnupg_rename_file): Factor out the wait function
to ...
(w32_wait_when_sharing_violation): New.
(w32_remove): New.
(gnupg_remove_ext): New.
(gnupg_remove): Now a wrapper arounf gnupg_remove_ext.
(gnupg_rename_file) [W32]: Use 32_remove with indefinite wait for
sharing violation.

Forward port of 2.2 commits:
7e3050547314f8c1625f2a1d9e116ff0b534a2bf
8491117f091ae9db1c1df2e6b9199ccde82a7d0a

This is based on a suggestion by Gniibe in

Details

Provenance
wernerAuthored on Thu, Oct 2, 11:53 AM
gniibeCommitted on Tue, Oct 14, 7:53 AM
Parents
rG39430d9f78dc: build,common,g13,sm,tools: Require GpgRT 1.56.
Branches
Unknown
Tags
Unknown