diff options
author | June McEnroe <june@causal.agency> | 2021-03-03 14:14:34 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-03-03 14:14:34 -0500 |
commit | e446660084f93766a5b6b55ddbeef9023014a249 (patch) | |
tree | 5b44f5ee854c93463076688e27d20778b4d6a612 /concat.c | |
parent | Sandbox with unveil(2) and pledge(2) on OpenBSD (diff) | |
download | bubger-e446660084f93766a5b6b55ddbeef9023014a249.tar.gz bubger-e446660084f93766a5b6b55ddbeef9023014a249.zip |
Output updated paths
Diffstat (limited to '')
-rw-r--r-- | concat.c | 5 |
1 files changed, 5 insertions, 0 deletions
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); } |