From e446660084f93766a5b6b55ddbeef9023014a249 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Wed, 3 Mar 2021 14:14:34 -0500 Subject: Output updated paths --- concat.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'concat.c') diff --git a/concat.c b/concat.c index bd41913..64e543f 100644 --- a/concat.c +++ b/concat.c @@ -170,6 +170,7 @@ static void concatThread(struct List thread, const struct Envelope *envelope) { error = fclose(file); if (error) err(EX_IOERR, "%s", path); + if (!quiet) printf("%s\n", path); } free(path); @@ -192,6 +193,7 @@ static void concatThread(struct List thread, const struct Envelope *envelope) { error = atomThreadClose(file) || fclose(file); if (error) err(EX_IOERR, "%s", path); + if (!quiet) printf("%s\n", path); } free(path); @@ -215,6 +217,7 @@ static void concatThread(struct List thread, const struct Envelope *envelope) { || htmlThreadClose(file) || fclose(file); if (error) err(EX_IOERR, "%s", path); + if (!quiet) printf("%s\n", path); } free(path); @@ -264,6 +267,7 @@ void concatIndex(struct List threads, const struct Envelope *envelopes) { error = atomIndexClose(file) || fclose(file); if (error) err(EX_IOERR, "%s", path); + if (!quiet) printf("%s\n", path); struct Sort *order = calloc(threads.len, sizeof(*order)); if (!order) err(EX_OSERR, "calloc"); @@ -306,4 +310,5 @@ void concatIndex(struct List threads, const struct Envelope *envelopes) { error = htmlIndexClose(file) || fclose(file); if (error) err(EX_IOERR, "%s", path); + if (!quiet) printf("%s\n", path); } -- cgit 1.4.1