mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
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>
This commit is contained in:
parent
633c1fea5f
commit
32021dfa5b
2 changed files with 18 additions and 12 deletions
|
@ -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, "-"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue