Bug-Fix .exmhcontext
"Klaus Elsbernd" <[email protected]>
| Newsgroups | gmane.mail.exmh.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello
Reported recently a bug-fix without sending an actual diff, which could be
used to fix the cvs-tree. So it didn't got into it. Here is a second try:
*** exmh/lib/mh.tcl.dist Di Apr 1 22:39:13 2003
--- exmh/lib/mh.tcl Mi Jun 11 19:50:55 2003
***************
*** 440,445 ****
--- 440,446 ----
Exmh_Debug MhReadSeqs Reading $filename
set old [read $in]
close $in
+ set mhPriv(otherpriv) {}
foreach line [split $old \n] {
if {$line != {}} {
if {[regexp {^([^:]*):\s*(.*)$} $line foo tag msgids]}
{
It clears the mhPriv(otherpriv) variable, which otherwise grows infinitly,
when reading .exmhcontext-File multiple times and writing it afterwards.
mh.tcl runs without complaining for severall weeks and my problem has gone.
Can anyone with cvs-access please check it in?
Bis dann
Klaus
--
"Sure, vi is user friendly.
It's just particular about who it makes friends with." ;-)
_________________________
Klaus Elsbernd; System Administrator, BOFH | [email protected]
Deutsches Forschungsz. für Künstliche Intelligenz | DFKI GmbH, Geb. 57/285
67657 Kaiserslautern; Germany | Tel: (+49) 0631/205-3486
signature.asc
(application/pgp-signature, 286 B)
-----BEGIN PGP MESSAGE----- Version: 2.6.3ia iQCVAwUBPudtUWrOJahe3R7NAQHkYgP+I3KMS6Ku9cd8zF1vtrP8Uzx1HcWNa5oD Qvu4+IxLSxHFfkmhFEggF8S/3MhXX2Cx8qlMnhHl5rvICFsNdskeCNL2hkQSWirP vYn2X99jY8Hx2vtyhn/2ovedm5iaAEv0tY4CesdAFTio89SDDpB0XD3ffFGM1nju rRVxxxRhix0= =iaMi -----END PGP MESSAGE-----