summaryrefslogtreecommitdiffstats
path: root/g10/exec.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2011-02-04 12:57:53 +0100
committerWerner Koch <wk@gnupg.org>2011-02-04 12:57:53 +0100
commitb008274afdbe375b32a7e66dbd073e200f6f0587 (patch)
tree219e239d39cf06be3f03aa82fb572080ac163a15 /g10/exec.c
parentLet autogen.sh check the git config (diff)
downloadgnupg2-b008274afdbe375b32a7e66dbd073e200f6f0587.tar.xz
gnupg2-b008274afdbe375b32a7e66dbd073e200f6f0587.zip
Nuked almost all trailing white space.post-nuke-of-trailing-ws
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.
Diffstat (limited to 'g10/exec.c')
-rw-r--r--g10/exec.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/g10/exec.c b/g10/exec.c
index 2803812dc..56e49ec34 100644
--- a/g10/exec.c
+++ b/g10/exec.c
@@ -17,7 +17,7 @@
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
-/*
+/*
FIXME: We should replace most code in this module by our
spawn implementation from common/exechelp.c.
*/
@@ -50,7 +50,7 @@
#include "exec.h"
#ifdef NO_EXEC
-int
+int
exec_write(struct exec_info **info,const char *program,
const char *args_in,const char *name,int writeonly,int binary)
{
@@ -71,7 +71,7 @@ set_exec_path(const char *path) { return G10ERR_GENERAL; }
/* This is a nicer system() for windows that waits for programs to
return before returning control to the caller. I hate helpful
computers. */
-static int
+static int
w32_system(const char *command)
{
#ifdef HAVE_W32CE_SYSTEM
@@ -107,7 +107,7 @@ w32_system(const char *command)
#endif
/* Replaces current $PATH */
-int
+int
set_exec_path(const char *path)
{
#ifdef HAVE_W32CE_SYSTEM
@@ -134,7 +134,7 @@ set_exec_path(const char *path)
}
/* Makes a temp directory and filenames */
-static int
+static int
make_tempdir(struct exec_info *info)
{
char *tmp=opt.temp_dir,*namein=info->name,*nameout;
@@ -216,7 +216,7 @@ make_tempdir(struct exec_info *info)
/* Expands %i and %o in the args to the full temp files within the
temp directory. */
-static int
+static int
expand_args(struct exec_info *info,const char *args_in)
{
const char *ch = args_in;
@@ -305,7 +305,7 @@ expand_args(struct exec_info *info,const char *args_in)
If there are args, but no tempfiles, then it's a fork/exec/pipe via
shell -c. If there are tempfiles, then it's a system. */
-int
+int
exec_write(struct exec_info **info,const char *program,
const char *args_in,const char *name,int writeonly,int binary)
{
@@ -607,7 +607,7 @@ exec_finish(struct exec_info *info)
log_info(_("WARNING: unable to remove tempfile (%s) `%s': %s\n"),
"in",info->tempfile_in,strerror(errno));
}
-
+
if(info->tempfile_out)
{
if(unlink(info->tempfile_out)==-1)