Home GnuPG
Diffusion GnuPG eb7806d63df6

g10: Make sure to have the directory for trustdb.
eb7806d63df6Unpublished

Unpublished Commit · Learn More

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

Description

g10: Make sure to have the directory for trustdb.

* g10/tdbio.c (tdbio_set_dbname): Return earlier if !CREATE.  Check
the directory and create it if none before calling take_write_lock.

Thanks to Marc Deslauriers for the bug report and his patch.

(backport from master
commit 2f3e42047d17313eeb38d354048f343158402a8d)

  • GnuPG-bug-id: T2246
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Feb 12 2016, 2:15 AM
Parents
rG776bee6d3706: common: Cope with AIX problem on number of open files.
Branches
Unknown
Tags
Unknown