]> diplodocus.org Git - nmh/commitdiff
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)
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.


No differences found