From f49d6a9ac8ff542c625e909798ef0947df45f34e Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 13 Jan 2021 19:06:24 -1200 Subject: lei: q: lock stdout on overview output Most writes to stdout aren't atomic and we need locking to prevent workers from interleaving and corrupting JSON output. The one case stdout won't require locking is if it's pointed to a regular file with O_APPEND; as POSIX O_APPEND semantics guarantees atomicity. --- MANIFEST | 1 + 1 file changed, 1 insertion(+) (limited to 'MANIFEST') diff --git a/MANIFEST b/MANIFEST index 2ca240fc..0ebdaccc 100644 --- a/MANIFEST +++ b/MANIFEST @@ -338,6 +338,7 @@ t/kqnotify.t t/lei-oneshot.t t/lei.t t/lei_dedupe.t +t/lei_overview.t t/lei_store.t t/lei_to_mail.t t/lei_xsearch.t -- cgit v1.2.3-24-ge0c7