Home GnuPG
Diffusion GnuPG 364cef997c0a

common: Use gpgrt functions for mkdir and chdir if available

Description

common: Use gpgrt functions for mkdir and chdir if available

* common/sysutils.c (gnupg_mkdir): Divert to gpgrt_mkdir.
(gnupg_chdir): Divert to gpgrt_chdir

To avoid bumping up the build dependency on libgpg-error 1.28 we use
the gpgrt version only if at least this libgpg-error version was used
at build time. This won't fix any bugs though and it is in general
advisable to use the latest libgpg-error. There are actually a couple
of very useful bug fixes for Windows in the upcoming libgpg-error 1.39
but on Unix you can live without them.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Aug 22 2020, 2:37 PM
Parents
rGbef68efd8da9: common,w32: Do not assume the ANSI codepage during string conversion.
Branches
Unknown
Tags
Unknown