aboutsummaryrefslogtreecommitdiffstats
path: root/common/argparse.c
diff options
context:
space:
mode:
authorAndre Heinecke <[email protected]>2016-01-26 08:53:42 +0000
committerWerner Koch <[email protected]>2016-01-26 08:53:42 +0000
commit3e50236d4ecc3601b2641bf4273a0ff64bb5fdc4 (patch)
tree6eb1cf224143969a5b60e622a0fd7e1479ee6b51 /common/argparse.c
parentg10: Fix segfault on unsupported curve. (diff)
downloadgnupg-3e50236d4ecc3601b2641bf4273a0ff64bb5fdc4.tar.gz
gnupg-3e50236d4ecc3601b2641bf4273a0ff64bb5fdc4.zip
gpgtar,w32: Fix gpgtar 8 bit encoding handling on W32
* common/utf8conv.c (wchar_to_utf8): Factor code out to ... (wchar_to_cp): new. (utf8_to_wchar): Factor code out to ... (cp_to_wchar): new. (wchar_to_native): New. (native_to_wchar): New. * tools/gpgtar-create.c (fillup_entry_w32): Use native_to_wchar. (scan_directory): Use wchar_to_native. -- Gpgtar needs to handle filenames in the local 8 bit encoding on Windows as it uses the 8 bit file io functions. GnuPG-bug-id: 1624, 1746 Patch from bug 1624 modified to fit into GnuPG 2.1 by wk. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions