]> diplodocus.org Git - nmh/commit
whatnow: Remove undocumented printf-formatting of -prompt string.
authorRalph Corderoy <ralph@inputplus.co.uk>
Sat, 28 Oct 2017 12:57:00 +0000 (13:57 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Sat, 28 Oct 2017 12:57:00 +0000 (13:57 +0100)
commitac153baba6893597d9bfc0e22469736fbc5e6821
treef0db47ed7abb556b3fa0f308f4a27246d049b92c
parent69b409f148f5517df72659d5ef3f6a103a2638a7
whatnow: Remove undocumented printf-formatting of -prompt string.

whatnow(1)'s -prompt option would use the value as a printf(3) format
string, supplying `invo_name' as the sole value to be formatted.  This
was undocumented, and upset gcc's checking of format strings.  As no
requests to keep the ability appeared on nmh-workers in reply to
2017-08-09's email, treat -prompt's value as a simple string.
uip/whatnowsbr.c