diff options
| author | Werner Koch <[email protected]> | 2018-04-09 12:44:21 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2018-04-09 12:44:21 +0000 |
| commit | 6da7aa1e7c80d214bd9dccb21744919ae191f2c8 (patch) | |
| tree | 023d9b3f3169532bdc49253c7a3a1e2d7f1f1c2c /dirmngr/t-http.c | |
| parent | doc: Add an example for --default-new-key-algo (diff) | |
| download | gnupg-6da7aa1e7c80d214bd9dccb21744919ae191f2c8.tar.gz gnupg-6da7aa1e7c80d214bd9dccb21744919ae191f2c8.zip | |
gpg,w32: Fix empty homedir when only a drive letter is used.
* common/homedir.c (copy_dir_with_fixup): New.
(default_homedir): Use here.
(gnupg_set_homedir): And here .
--
This actually fixes a couple of cases for Windows. Both --home-dir
and GNUPGHOME. The interpretation of "c:" -> "c:/" might not be the
correct one but because we need an absolute dir anyway it is the less
surprising one. Note that this does not include a full syntax check
and fixup and thus it is very well possible that the result is not an
absolute directory.
GnuPG-bug-id: 3720
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'dirmngr/t-http.c')
0 files changed, 0 insertions, 0 deletions
