From 827bf1b7da635b1018cbcc515f0ce2c074337629 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Sun, 7 Feb 2021 08:02:36 -0800 Subject: [9front] upas/vf: install %τ format specifier upas/vf was converted to use tmdate, but the formatter was never installed. This caused it to send attachments to validateattachment with header `From virusfilter %τ%`, which always failed since upas/fs would just skip over the message. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sys/src/cmd/upas/vf/vf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/src/cmd/upas/vf/vf.c b/sys/src/cmd/upas/vf/vf.c index 2355db5b8..752d89f4c 100644 --- a/sys/src/cmd/upas/vf/vf.c +++ b/sys/src/cmd/upas/vf/vf.c @@ -140,6 +140,8 @@ main(int argc, char **argv) if(argc) usage(); + tmfmtinstall(); + Binit(&in, 0, OREAD); Binit(&out, 1, OWRITE); -- cgit v1.2.3