Re: feature freeze? (Re: [Announce] mutt-1.5.13 is out)
Hello,
> (The one-liner idea was stupid as we shouldn't mangle the folder
> variable's contents in there)
wrong. The variable folder within the function mutt_hcache_per_folder is
only used *once* to compute the god damn md5sum. Since in c function
arguments are *copied* to the stack and only valid during the run of the
function (aka call-by-value[1]). The only thing you have to do is
overwriting the last byte of the string folder with a '\0' if
it is a slash.
http://en.wikipedia.org/wiki/Evaluation_strategy#Call_by_value
Thomas