diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2022-04-07 15:53:42 +0900 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2022-04-07 15:53:42 +0900 |
commit | 74e6afcc36b28b0acc49fbe25f29b42d1a223caf (patch) | |
tree | eb9e1ab30a1b2d8205b7770deb19720c3726b330 | |
parent | 5ef201c10b1cc870ae06e34ad02bb5da0a763bfe (diff) | |
download | libgpg-error-74e6afcc36b28b0acc49fbe25f29b42d1a223caf.tar.gz |
logging: Fix the previous commit.
* src/logging.c (set_file_fd): Open with append mode.
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
-rw-r--r-- | src/logging.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logging.c b/src/logging.c index 56cb951..9bc9350 100644 --- a/src/logging.c +++ b/src/logging.c @@ -485,7 +485,7 @@ set_file_fd (const char *name, int fd, estream_t stream) if (!name) fp = _gpgrt_fdopen (fd, "w"); else if (!want_socket) - fp = _gpgrt_fopen (name, "w"); + fp = _gpgrt_fopen (name, "a"); else { es_cookie_io_functions_t io = { NULL }; |