diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/gpgconf-comp.c | 6 | ||||
-rw-r--r-- | tools/gpgconf.c | 2 | ||||
-rw-r--r-- | tools/gpgtar-create.c | 2 | ||||
-rw-r--r-- | tools/gpgtar-extract.c | 2 | ||||
-rw-r--r-- | tools/gpgtar-list.c | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/tools/gpgconf-comp.c b/tools/gpgconf-comp.c index 7cd45c7e9..90f2f53d3 100644 --- a/tools/gpgconf-comp.c +++ b/tools/gpgconf-comp.c @@ -1370,7 +1370,7 @@ gc_component_check_options (int component, estream_t out, const char *conf_file) result = 0; errlines = NULL; - err = gnupg_spawn_process (pgmname, argv, NULL, NULL, 0, + err = gnupg_spawn_process (pgmname, argv, NULL, 0, NULL, NULL, &errfp, &pid); if (err) result |= 1; /* Program could not be run. */ @@ -1759,7 +1759,7 @@ retrieve_options_from_program (gc_component_id_t component, int only_installed) /* First we need to read the option table from the program. */ argv[0] = "--dump-option-table"; argv[1] = NULL; - err = gnupg_spawn_process (pgmname, argv, NULL, NULL, 0, + err = gnupg_spawn_process (pgmname, argv, NULL, 0, NULL, &outfp, NULL, &pid); if (err) { @@ -1940,7 +1940,7 @@ retrieve_options_from_program (gc_component_id_t component, int only_installed) /* Now read the default options. */ argv[0] = "--gpgconf-list"; argv[1] = NULL; - err = gnupg_spawn_process (pgmname, argv, NULL, NULL, 0, + err = gnupg_spawn_process (pgmname, argv, NULL, 0, NULL, &outfp, NULL, &pid); if (err) { diff --git a/tools/gpgconf.c b/tools/gpgconf.c index 83ad947bb..4afc4e9fd 100644 --- a/tools/gpgconf.c +++ b/tools/gpgconf.c @@ -1182,7 +1182,7 @@ show_versions_via_dirmngr (estream_t fp) pgmname = gnupg_module_name (GNUPG_MODULE_NAME_DIRMNGR); argv[0] = "--gpgconf-versions"; argv[1] = NULL; - err = gnupg_spawn_process (pgmname, argv, NULL, NULL, 0, + err = gnupg_spawn_process (pgmname, argv, NULL, 0, NULL, &outfp, NULL, &pid); if (err) { diff --git a/tools/gpgtar-create.c b/tools/gpgtar-create.c index 63d0e831b..3a7687d9f 100644 --- a/tools/gpgtar-create.c +++ b/tools/gpgtar-create.c @@ -1195,7 +1195,7 @@ gpgtar_create (char **inpattern, const char *files_from, int null_names, goto leave; } - err = gnupg_spawn_process (opt.gpg_program, argv, NULL, NULL, + err = gnupg_spawn_process (opt.gpg_program, argv, NULL, (GNUPG_SPAWN_KEEP_STDOUT | GNUPG_SPAWN_KEEP_STDERR), &outstream, NULL, NULL, &pid); diff --git a/tools/gpgtar-extract.c b/tools/gpgtar-extract.c index 832039b2c..f96887f40 100644 --- a/tools/gpgtar-extract.c +++ b/tools/gpgtar-extract.c @@ -408,7 +408,7 @@ gpgtar_extract (const char *filename, int decrypt) goto leave; } - err = gnupg_spawn_process (opt.gpg_program, argv, NULL, NULL, + err = gnupg_spawn_process (opt.gpg_program, argv, NULL, ((filename? 0 : GNUPG_SPAWN_KEEP_STDIN) | GNUPG_SPAWN_KEEP_STDERR), NULL, &stream, NULL, &pid); diff --git a/tools/gpgtar-list.c b/tools/gpgtar-list.c index 08ab9672e..a536b05f2 100644 --- a/tools/gpgtar-list.c +++ b/tools/gpgtar-list.c @@ -501,7 +501,7 @@ gpgtar_list (const char *filename, int decrypt) goto leave; } - err = gnupg_spawn_process (opt.gpg_program, argv, NULL, NULL, + err = gnupg_spawn_process (opt.gpg_program, argv, NULL, ((filename? 0 : GNUPG_SPAWN_KEEP_STDIN) | GNUPG_SPAWN_KEEP_STDERR), NULL, &stream, NULL, &pid); |