Home GnuPG
Diffusion GnuPG 1c0b140cccfb

g10: Fix flags to open for lock of ToFU.
1c0b140cccfbUnpublished

Unpublished Commit · Learn More

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

Description

g10: Fix flags to open for lock of ToFU.

* g10/tofu.c (busy_handler): Fix the flags and utime is not needed.

The argument flags must include one of O_RDONLY, O_WRONLY, or O_RDWR.
Adding O_TRUNC, the file is updated. So, utime is not needed.

Details

Provenance
gniibeAuthored on Nov 18 2016, 12:32 PM
Parents
rG833eef974ad4: dirmngr: Use a longer timer tick interval.
Branches
Unknown
Tags
Unknown

Event Timeline

NIIBE Yutaka <gniibe@fsij.org> committed rG1c0b140cccfb: g10: Fix flags to open for lock of ToFU. (authored by NIIBE Yutaka <gniibe@fsij.org>).Nov 18 2016, 12:32 PM