Re: [PATCH 1/2] Fix <get-attachment> to use $tmpdraftdir.
"Kevin J. McCarthy" <[email protected]>
| Newsgroups | gmane.mail.mutt.devel |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Aug 25, 2026 at 12:51:14PM +0200, Alejandro Colomar via Mutt-dev wrote: >> Date: 2026-08-25 18:00:24+0800 >> From: "Kevin J. McCarthy" <[email protected]> >> >[...] >> diff --git a/rfc1524.c b/rfc1524.c >> index f1b13fc9..b14436c1 100644 >> --- a/rfc1524.c >> +++ b/rfc1524.c >> @@ -494,9 +494,9 @@ int rfc1524_mailcap_lookup(BODY *a, char *type, size_t typelen, rfc1524_entry *e >> * template and/or the old file name will be used for the >> * comparison and the temporary file name. >> */ >> -void mutt_rfc1524_expand_filename(const char *nametemplate, >> - const char *oldfile, >> - BUFFER *newfile) >> +static void _rfc1524_expand_filename(const char *nametemplate, >> + const char *oldfile, >> + BUFFER *newfile) > >It's technically undefined behavior to declare an identifier starting >with '_lowercase' in file scope. (I ignore if we already have of those, >and thus this is just consistent with existing practice; also, it's >unlikely that glibc will define anything similar, so it should be fine.) > >Feel free to ignore this comment. :) There's a sprinkle like this, but not so many that it I need to add another on. I'll fix it. Thank you! -- Kevin J. McCarthy GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEiXWpszqjeRA4XFMIre92hIAxa9oFAmqNezYACgkQre92hIAx a9oFBg//Z2ODTdb4BJf4BBeq4DzF6ET8tdWyCSyR1uftiUw2AExisgsPkG/E8JpI 8Z1Fy/NMTa0bU1D6YivDEu/GIpdUvq08OABWfm381gBURQY6GsX/uuZciNsPN/lU ofQbS6yQPVyWLxn++BobIm4BoOPtn3YUj7rV3MXiXGFmy/G04WaOgPppSXc0gzue D5k5jBhAEskmMkOUNcArZMiHhibtpZ5Y3GdVf7Dp5tpZAo0Y1/7BI7exP9AaL1Jc lYt0CknFfOopp08+STn+75w15R2igrktsXFQdNKkGwafp0zjm8EHHddvt7FVTxdg 1Hq673vpbZMdM4OOJNbNjh6uvklJlu+595wK1s+4TfAIsR5fn5xUeZoURO6uZ9CT 114uXPk8QncXyAB+SAagtgPREc+FmUt3vWCupnbFTe9nc18zkYgRmR+SW7e58WgM pvVHWZXla/xDkdkmuYCN+12ICo94vc1JMRzfYtx2XL1PS31OseYL3+tiwV5ciMZ+ mpHUpi/Hlk87e6/YAw6jgIIELkcK9XinX5WZxBTErTigWkt+SqgjsjQxRANJVWSR 7DneBTL0DBuBHJJCzmfactSAK0lTRvxktPVTDM2UCBuTbVtXn5x+zY7VslKJlu5p Co4krfOIQtU0T9Inspmexo0JvRTrbqpZNJHgqZkb3bowjTbT97U= =Lctj -----END PGP SIGNATURE-----