summaryrefslogtreecommitdiffstats
path: root/tools/gpgtar-create.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2020-08-25 10:38:29 +0200
committerWerner Koch <wk@gnupg.org>2020-08-25 10:38:29 +0200
commit32021dfa5bcaa056c18e4ec40fdcd0f8b7de382b (patch)
tree5a6053349363edf7686836df4c54bb891d4cd512 /tools/gpgtar-create.c
parentgpg: Collapse duplicate subkeys. (diff)
downloadgnupg2-32021dfa5bcaa056c18e4ec40fdcd0f8b7de382b.tar.xz
gnupg2-32021dfa5bcaa056c18e4ec40fdcd0f8b7de382b.zip
gpgconf,w32: New debug command --show-codepages.
* tools/gpgconf.c (aShowCodepages): New. (opts): New command --show-codepages. (main) [W32]: Implement -- This is a Windows helper command to quickly check which code pages are currently used. Useful for debugging. Has no effect on Unix. Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to '')
-rw-r--r--tools/gpgtar-create.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/tools/gpgtar-create.c b/tools/gpgtar-create.c
index 8a54c70ee..0311a465b 100644
--- a/tools/gpgtar-create.c
+++ b/tools/gpgtar-create.c
@@ -795,16 +795,6 @@ gpgtar_create (char **inpattern, const char *files_from, int null_names,
memset (scanctrl, 0, sizeof *scanctrl);
scanctrl->flist_tail = &scanctrl->flist;
- /* { unsigned int cpno, cpno2, cpno3; */
-
- /* cpno = GetConsoleOutputCP (); */
- /* cpno2 = GetACP (); */
- /* cpno3 = GetOEMCP (); */
- /* log_debug ("Codepages: Console: %u ANSI: %u OEM: %u\n", */
- /* cpno, cpno2, cpno3); */
- /* } */
-
-
if (!inpattern)
{
if (!files_from || !strcmp (files_from, "-"))