* [9front] upas/vf: install %τ format specifier
@ 2021-02-07 9:22 Michael Forney
2021-02-07 16:04 ` [9front] upas/vf: install % " ori
0 siblings, 1 reply; 2+ messages in thread
From: Michael Forney @ 2021-02-07 9:22 UTC (permalink / raw)
To: 9front
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.
diff 9f73daae4c186334de5c9ee5b6bb0d9aa598f9bd 776cb37fd6894d9e73b252d60f386d3cfb7c876c
--- a/sys/src/cmd/upas/vf/vf.c Sat Feb 6 04:50:06 2021
+++ b/sys/src/cmd/upas/vf/vf.c Sun Feb 7 01:22:23 2021
@@ -140,6 +140,8 @@
if(argc)
usage();
+ tmfmtinstall();
+
Binit(&in, 0, OREAD);
Binit(&out, 1, OWRITE);
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [9front] upas/vf: install % format specifier
2021-02-07 9:22 [9front] upas/vf: install %τ format specifier Michael Forney
@ 2021-02-07 16:04 ` ori
0 siblings, 0 replies; 2+ messages in thread
From: ori @ 2021-02-07 16:04 UTC (permalink / raw)
To: 9front
Quoth Michael Forney <mforney@mforney.org>:
> 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.
>
> diff 9f73daae4c186334de5c9ee5b6bb0d9aa598f9bd 776cb37fd6894d9e73b252d60f386d3cfb7c876c
> --- a/sys/src/cmd/upas/vf/vf.c Sat Feb 6 04:50:06 2021
> +++ b/sys/src/cmd/upas/vf/vf.c Sun Feb 7 01:22:23 2021
> @@ -140,6 +140,8 @@
> if(argc)
> usage();
>
> + tmfmtinstall();
> +
> Binit(&in, 0, OREAD);
> Binit(&out, 1, OWRITE);
>
>
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-02-09 5:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-07 9:22 [9front] upas/vf: install %τ format specifier Michael Forney
2021-02-07 16:04 ` [9front] upas/vf: install % " ori
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).