summaryrefslogtreecommitdiffstats
path: root/common/sysutils.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add code for explicit selection of pooled A records.Werner Koch2011-04-121-0/+11
| | | | | | | | | | | To better cope with round robin pooled A records like keys.gnupg.net we need to keep some information on unresponsive hosts etc. What we do now is to resolve the hostnames, remember them and select a random one. If a host is dead it will be marked and a different one selected. This is intended to solve the problem of long timeouts due to unresponsive hosts. The code is not yet finished but selection works.
* Nuked almost all trailing white space.post-nuke-of-trailing-wsWerner Koch2011-02-041-15/+14
| | | | | | | | We better do this once and for all instead of cluttering all future commits with diffs of trailing white spaces. In the majority of cases blank or single lines are affected and thus this change won't disturb a git blame too much. For future commits the pre-commit scripts checks that this won't happen again.
* Fix dirmngr problems on CE.Werner Koch2010-08-121-2/+2
| | | | | | Add new dirmngr commands. Minor other fixes.
* common/Marcus Brinkmann2010-06-111-2/+4
| | | | | | | | | | | | | 2010-06-11 Marcus Brinkmann <marcus@g10code.de> * sysutils.c (translate_sys2libc_fd): Revert last change. (translate_sys2libc_fd_int): Revert last change. sm/ 2010-06-11 Marcus Brinkmann <marcus@g10code.de> * server.c (cmd_message) [HAVE_W32CE_SYSTEM]: Finish pipe.
* 2010-06-10 Marcus Brinkmann <marcus@g10code.de>Marcus Brinkmann2010-06-101-4/+2
| | | | | | | | * sysutils.c (translate_sys2libc_fd) [HAVE_W32CE_SYSTEM]: Implement. (translate_sys2libc_fd_int) [HAVE_W32CE_SYSTEM]: Don't call translate_sys2libc_fd.
* 2010-06-08 Marcus Brinkmann <marcus@g10code.de>Marcus Brinkmann2010-06-081-1/+3
| | | | | | | | | | * Makefile.am (AM_CFLAGS): Add $(LIBASSUAN_CFLAGS). (t_common_ldadd): Add $(LIBASSUAN_LIBS). * sysutils.c: Include <assuan.h>. (translate_sys2libc_fd_int): Cast to silence gcc warning. * iobuf.c: Include <assuan.h> (translate_file_handle): Fix syntax error.
* Change OpenPGP test framework to run under the control of the agent.Werner Koch2010-06-071-2/+7
|
* common/Marcus Brinkmann2010-04-201-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2010-04-20 Marcus Brinkmann <marcus@g10code.de> * logging.c (do_log_ignore_arg): New helper function. (log_string): Use it to remove ugly volatile hack that causes gcc warning. (log_flush): Likewise. * sysutils.c (gnupg_unsetenv) [!HAVE_W32CE_SYSTEM]: Return something. (gnupg_setenv) [!HAVE_W32CE_SYSTEM]: Likewise. * pka.c (get_pka_info): Solve strict aliasing rule violation. * t-exechelp.c (test_close_all_fds): Use dummy variables to silence gcc warning. kbx/ 2010-04-20 Marcus Brinkmann <marcus@g10code.de> * keybox-update.c [!HAVE_DOSISH_SYSTEM]: Include ../common/sysutils.h even then to silence gcc warning about missing declaration of gnupg_remove. tools/ 2010-04-20 Marcus Brinkmann <marcus@g10code.de> * gpgconf-comp.c (option_check_validity): Use dummy variables to silence gcc warning.
* Fixed dependencies and a syntax errorWerner Koch2010-04-141-2/+2
|
* ./autogen.sh --build-w32ce does now succeed.Werner Koch2010-04-141-0/+11
|
* Whole lot of changes to support CE.Werner Koch2010-04-141-2/+109
|
* More changes for CE. gpgsm does now build and run a keylisting.Werner Koch2010-03-241-0/+24
|
* More chnages to use estream. Add a way to replace the standardWerner Koch2010-03-221-1/+1
| | | | | descriptors.
* First steps towards the W32CE portWerner Koch2010-03-021-28/+57
|
* 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 <marcus@g10code.de> * 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 <marcus@g10code.de> 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 <marcus@g10code.de>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 <marcus@g10code.de>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.