aboutsummaryrefslogtreecommitdiffstats
path: root/common/sysutils.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* w32: Almost everywhere include winsock2.h before windows.h.Werner Koch2013-04-231-11/+16
| | | | | | | | | | | -- This is required by newer mingw toolchain versions which demand that winsock2.h is included before windows.h. Now, due to the use of socket definitions in pth.h we need to include winsock2.h also in pth.h, now pth.h is often included after an include of windows.h and thus the compiler spits out a warning. To avoid that we include winsock2.h at all places the compiler complains about.
* Import/export of pkcs#12 now uses the gpg-agent directly.Werner Koch2009-04-011-3/+5
| | | | | Removed duplicated code (percent unescaping).
* Marked all unused args on non-W32 platforms.Werner Koch2008-10-201-0/+2
|
* g10/Marcus Brinkmann2008-06-251-128/+0
| | | | | | | | | | | | | | | | | | | | | | 2008-06-25 Marcus Brinkmann <[email protected]> * gpg.c (enum cmd_and_opt_values): Remove option oEnableW32HandleTranslation. (opts): Remove option --enable-w32-handle-translation. (main): Remove variable w32_handle_translation. common/ 2008-06-25 Marcus Brinkmann <[email protected]> Revert last three changes related to handle translation. * sysutils.c: (FD_TRANSLATE_MAX, fd_translate, fd_translate_len) (translate_table_init, translate_table_lookup): Removed. * iobuf.c (check_special_filename): Do not use translate_table_lookup. * sysutils.h (translate_table_init, translate_table_lookup): Remove prototypes.
* Robustness fix.Werner Koch2008-06-191-9/+16
| | | | | Add group to the --gpgconf-list.
* 2008-06-18 Marcus Brinkmann <[email protected]>Marcus Brinkmann2008-06-181-1/+4
| | | | | * sysutils.c (TRANS_MAX): Bump up to 350 to be on the safe side.
* 2008-06-18 Marcus Brinkmann <[email protected]>Marcus Brinkmann2008-06-181-0/+118
| | | | | | | | | | | | | * sysutils.h (translate_table_init, translate_table_lookup): New prototypes. * sysutils.c: Include <ctype.h>. (FD_TRANSLATE_MAX): New macro. (fd_translate, fd_translate_len): New static variables. (translate_table_init, translate_table_lookup): New functions. (translate_sys2libc_fd_int): Translate file descriptor. * iobuf.c (check_special_filename): Translate handle values from special filenames.
* Poems for AllowSetForegroundWindow (W32)Werner Koch2008-02-141-1/+16
|
* Try to make sure that the standard descriptors are connected when callingWerner Koch2007-12-031-1/+75
| | | | | gpgsm.
* Updated estream.Werner Koch2007-08-221-2/+88
| | | | | More changes for Windows.
* Translate all file descriptors received from assuan.Werner Koch2007-07-121-13/+25
|
* Changed to GPLv3.Werner Koch2007-07-041-4/+2
| | | | | Removed intl/.
* Fixed a problem in estream-printf.c.Werner Koch2007-06-251-0/+29
| | | | | Changes for Windows (gpgsm -k does now work). Minor cleanups.
* [w32] gpg-agent is now started automagically by gpgsm.Werner Koch2007-06-201-6/+49
|
* First steps towards supporting W32.Werner Koch2007-06-061-1/+1
| | | | | | | This is mainly source code reorganization. Update gnulib. g10/ does currently not build.
* Updated FSF's address.Werner Koch2006-06-201-1/+2
|
* New debugging optionhs, updates to the manual.Werner Koch2005-06-071-1/+1
|
* * sysutils.c (disable_core_dumps): Only set the current limit.Werner Koch2004-05-111-7/+30
| | | | | | | | | | | | | | | (enable_core_dumps): New. * gpgsm.texi (Esoteric Options): Add --debug-allow-core-dump. * gpgsm.c: New option --debug-allow-core-dump. * gpgsm.h (opt): Add member CONFIG_FILENAME. * gpgsm.c (main): Use it here instead of the local var. * server.c (gpgsm_server): Print some additional information with the hello in verbose mode.
* minor cleanupsWerner Koch2004-02-121-1/+2
|
* * sysutils.c: New. This is the misc.c file from gnupg 1.0.6 withWerner Koch2002-01-191-0/+206
the OpenPGP stuff removed. * sysutils.h: New.