<<< Date Index >>>     <<< Thread Index >>>

Re: Another encoding question...



Hello Kyle,

* Kyle Wheeler <kyle-mutt@xxxxxxxxxxxxxx> [040922 00:35]:
> What's worse, I am using the hcache patch, which cached the headers (as 
> well, apparently, as their encodings) in the folder I was looking at in 
> between instances of mutt. Only after removing the cache and letting it 
> get regenerated did those messages show up properly in the index. THANK 
> YOU!

the attached patch would fix the issue you experienced. However I think
this will never make it in Debian or my upstream. But if the ja-patch
people would add #define HAVE_JA_PATCH or something like that - so that
I could easily detect it in hcache. I could add the two lines of code.

Honestly,
        Thomas
===== hcache.c 1.23 vs edited =====
--- 1.23/hcache.c       2004-09-20 10:22:52 +02:00
+++ edited/hcache.c     2004-09-22 01:28:24 +02:00
@@ -437,6 +437,9 @@
                rx = rx->next;
        }
 
+       crc = crc32(crc, Options[OPTSTRICTMIME], 1);    
+       crc = crc32(crc, AssumedCharset, mutt_strlen(AssumedCharset));  
+
        return crc;
 }