diff options
author | Werner Koch <wk@gnupg.org> | 2020-10-19 15:21:59 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2020-10-19 15:21:59 +0200 |
commit | 4764c5a3a4d704b3b42bafc5eba3996579030703 (patch) | |
tree | 44983a7d7b811145c19de90bd01e52c979815a52 /src/gpg-error.vers | |
parent | dbedf190969de1a796560cfa15fb4ea986bc79dc (diff) | |
download | libgpg-error-4764c5a3a4d704b3b42bafc5eba3996579030703.tar.gz |
New public function gpgrt_access.
* src/gpg-error.h.in (gpgrt_access): New.
* src/gpg-error.vers. src/gpg-error.def.in: Add new function.
* src/sysutils.c (any8bitchar): New.
(_gpgrt_access): New.
* src/visibility.c (gpgrt_access): New.
* src/spawn-w32.c (_gpgrt_spawn_process_detached): Use it.
* src/argparse.c (try_versioned_conffile): Use it.
* tests/t-stringutils.c (check_access): New simple test.
--
This is basically a wrapper to allow handling of utf8 encoded file
names on Windows. This also fixes the case for versioned config files
in directories with non-ascii characters.
The new test needs to be run manually on Windows using a directory
with Unicode characters.
GnuPG-bug-id: 5098
Diffstat (limited to 'src/gpg-error.vers')
-rw-r--r-- | src/gpg-error.vers | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gpg-error.vers b/src/gpg-error.vers index e67a16f..aaea22a 100644 --- a/src/gpg-error.vers +++ b/src/gpg-error.vers @@ -206,6 +206,8 @@ GPG_ERROR_1.0 { gpgrt_fnameconcat; gpgrt_absfnameconcat; + gpgrt_access; + local: *; }; |