git: 9front

Download patch

ref: 2f3e41d36af21e574ad663960c59507efaeedb96
parent: 400eea4ca286bf2b34b0cfc15f4fb1dc23640481
author: Michael Forney <mforney@mforney.org>
date: Sun Feb 7 03:02:36 EST 2021

[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.

--- a/sys/src/cmd/upas/vf/vf.c
+++ b/sys/src/cmd/upas/vf/vf.c
@@ -140,6 +140,8 @@
 	if(argc)
 		usage();
 
+	tmfmtinstall();
+
 	Binit(&in, 0, OREAD);
 	Binit(&out, 1, OWRITE);
 
--