aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gpgme-w32spawn.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gpgme-w32spawn.c b/src/gpgme-w32spawn.c
index 03ad1fbf..247d6009 100644
--- a/src/gpgme-w32spawn.c
+++ b/src/gpgme-w32spawn.c
@@ -469,7 +469,12 @@ wmain (int argc, const wchar_t * const *argv)
}
#ifdef DEBUG_TO_FILE
- mystderr = fopen ("h:/gpgme-w32spawn.log", "w");
+ {
+ FILE *tmpfp = fopen ("h:/gpgme-w32spawn.log", "a");
+ if (tmpfp)
+ mystderr = tmpfp;
+ fputs (PGM": started\n", mystderr);
+ }
#endif
argv_spawn = translate_handles (argv[1], &argv[2], fd_list, &flags);