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

mutt/2472: header caching for MH-style folders does not work



>Number:         2472
>Notify-List:    tim.hunter@xxxxxxxxxx
>Category:       mutt
>Synopsis:       header caching for MH-style folders does not work
>Confidential:   no
>Severity:       normal
>Priority:       medium
>Responsible:    mutt-dev
>State:          open
>Keywords:       
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 04 19:42:05 +0200 2006
>Originator:     Tim Hunter
>Release:        1.5.13
>Organization:
>Environment:
Mutt 1.5.13 (2006-08-11)
Copyright (C) 1996-2006 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: FreeBSD 4.9-STABLE (i386) [using slang 10409] [using libiconv 1.9]
Compile options:
-DOMAIN
-DEBUG
-HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE
-USE_FCNTL  +USE_FLOCK   -USE_INODESORT
+USE_POP  +USE_IMAP  -USE_GSS  +USE_SSL_OPENSSL  -USE_SSL_GNUTLS  -USE_SASL  
+HAVE_GETADDRINFO
+HAVE_REGCOMP  -USE_GNU_REGEX  +COMPRESSED
+HAVE_COLOR  -HAVE_START_COLOR  -HAVE_TYPEAHEAD  -HAVE_BKGDSET
-HAVE_CURS_SET  -HAVE_META  -HAVE_RESIZETERM
+CRYPT_BACKEND_CLASSIC_PGP  +CRYPT_BACKEND_CLASSIC_SMIME  -CRYPT_BACKEND_GPGME
-BUFFY_SIZE -EXACT_ADDRESS  -SUN_ATTACHMENT
+ENABLE_NLS  -LOCALES_HACK  -HAVE_WC_FUNCS  +HAVE_LANGINFO_CODESET  
+HAVE_LANGINFO_YESEXPR
+HAVE_ICONV  -ICONV_NONTRANS  -HAVE_LIBIDN  +HAVE_GETSID  +USE_HCACHE
ISPELL="/usr/local/bin/ispell"
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
PKGDATADIR="/usr/local/share/mutt"
SYSCONFDIR="/usr/local/etc"
EXECSHELL="/bin/sh"
-MIXMASTER
To contact the developers, please mail to <mutt-dev@xxxxxxxx>.
To report a bug, please visit http://bugs.mutt.org/.

patch-1.5.7.ust.maildir-mtime.2
vvv.quote
patch-1.5.0.ats.date_conditional.1
dgc.deepif.1
vvv.initials
rr.compressed
patch-1.5.4.cd.ifdef.1
>Description:
the header cache does not get populated when a MH folder is opened.
>How-To-Repeat:
open any MH-format mail directory
>Fix:
patch attached
>Add-To-Audit-Trail:

>Unformatted:
 ----gnatsweb-attachment----
 Content-Type: application/octet-stream; name="patch-1.5.13-mhcaching"
 Content-Transfer-Encoding: base64
 Content-Disposition: attachment; filename="patch-1.5.13-mhcaching"
 
 LS0tIG1oLmMub3JpZwlXZWQgSnVsICA1IDA5OjQwOjA1IDIwMDYKKysrIG1oLmMJRnJpIFNlcCAg
 MSAxNzowOTo0NSAyMDA2CkBAIC02NTMsNiArNjUzLDggQEAKICAgY2hhciBidWZbX1BPU0lYX1BB
 VEhfTUFYXTsKICNpZiBVU0VfSENBQ0hFCiAgIHZvaWQgKmRhdGE7CisgIGNoYXIgKmtleTsKKyAg
 aW50ICBrc2l6ZTsKICNlbmRpZgogCiAgIGlmIChzdWJkaXIpCkBAIC02NjMsMTEgKzY2NSwzNSBA
 QAogICBpZiAoY3R4LT5tYWdpYyA9PSBNX01IKQogICB7CiAjaWZkZWYgVVNFX0hDQUNIRQotICAg
 IGlmIChoYyAmJiAoZGF0YSA9IG11dHRfaGNhY2hlX2ZldGNoIChoYywgZm5hbWUsIHN0cmxlbikp
 KQorICAgIC8qIGlmIEhBVkVfREI0IGlzIGRlZmluZWQgaW4gaGNhY2hlLmM6bXV0dF9oY2FjaGVf
 ZmV0Y2hfcmF3KCksCisgICAgICAgdGhpcyBoYXBwZW5zOiAiZmlsZW5hbWUrKyIgd2l0aCB0aGUg
 Y29tbWVudCAic2tpcCAnLyciLiAgU28gaW4gb3JkZXIKKyAgICAgICBmb3Ig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