9front - general discussion about 9front
 help / color / mirror / Atom feed
From: Michael Forney <mforney@mforney.org>
To: 9front@9front.org
Subject: [9front] upas/vf: install %Ï„ format specifier
Date: Sun, 07 Feb 2021 09:22:23 +0000	[thread overview]
Message-ID: <4AA9118B19A066ED647C0EE7DC2D781E@arrow.hsd1.ca.comcast.net> (raw)

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);
 

             reply	other threads:[~2021-02-07 10:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-07  9:22 Michael Forney [this message]
2021-02-07 16:04 ` [9front] upas/vf: install % " ori

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4AA9118B19A066ED647C0EE7DC2D781E@arrow.hsd1.ca.comcast.net \
    --to=mforney@mforney.org \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).