From 068ed2ebf2a956428bca6ae1e3221795eede0255 Mon Sep 17 00:00:00 2001 From: hjp Date: Mon, 25 Apr 2005 20:28:19 +0000 Subject: [PATCH] Append instead of truncate. --- ts/ts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/ts.c b/ts/ts.c index f7b55ed..1e22576 100644 --- a/ts/ts.c +++ b/ts/ts.c @@ -55,7 +55,7 @@ int main(int argc, char **argv) { exit(1); } } - if ((fp = fopen(file, "w")) == NULL) { + if ((fp = fopen(file, "a")) == NULL) { fprintf(stderr, "%s: cannot open %s: %s\n", argv[0], file, strerror(errno)); exit(1); }