1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

common: Rename sh-exectool to exectool.

* common/sh-exectool.c: Rename to exectool.c.
* common/sh-exectool.h: Rename to exectool.h.
* common/Makefile.am (common_sources): Adjust for rename.
* common/exectool.c (sh_exec_tool_stream): Rename to
gnupg_exec-tool-stream.
(sh_exec_tool): Rename to gnupg_exec_tool.
* tools/gpgtar-create.c (gpgtar_create): Adjust for changes.
* tools/gpgtar-extract.c: Adjust for changes.
* tools/gpgtar-list.c: Adjust for changes.
--

The "sh-" presifx is used by g13 for system helpers which are used by
processes created via userv.  A generic function in common/ should
also have a generic name.

Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
Werner Koch 2015-12-14 09:38:46 +01:00
parent f5aa51aaac
commit d80e1bc430
No known key found for this signature in database
GPG key ID: E3FDFF218E45B72B
6 changed files with 30 additions and 30 deletions

View file

@ -28,7 +28,7 @@
#include <assert.h>
#include "i18n.h"
#include "../common/sh-exectool.h"
#include "../common/exectool.h"
#include "../common/sysutils.h"
#include "gpgtar.h"
@ -325,8 +325,8 @@ gpgtar_extract (const char *filename, int decrypt)
argv[i++] = NULL;
assert (i == strlist_length (opt.gpg_arguments) + 2);
err = sh_exec_tool_stream (opt.gpg_program, argv,
cipher_stream, stream);
err = gnupg_exec_tool_stream (opt.gpg_program, argv,
cipher_stream, stream);
xfree (argv);
if (err)
goto leave;