[prev in list] [next in list] [prev in thread] [next in thread] 

List:       exmh-users
Subject:    Re: [Nmh-workers] Re: enhancement to mhfinddup
From:       Valdis.Kletnieks () vt ! edu
Date:       2008-09-09 17:24:25
Message-ID: 29553.1220981065 () turing-police ! cc ! vt ! edu
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Tue, 09 Sep 2008 12:59:50 EDT, Valdis.Kletnieks@vt.edu said:

> Possible enhancement for 1.3 - I'd code and test but am swimming in other work
> today...

Obviously true, because...


> 		if (exists $cached{"$folderpath/$m"}) {
> 			$sum1=$cached{$msgid};
should be 			$sum1=$cached("$folderpath/$m");

> 		} else {
> 			$sum1=md5_hex(@msgbody);
> 			$cached{"$folderpath/$m"}=$sum1;
> 		}

(I coded it up storing based on $msgid, then realized that was the wrong thing
for an index because we're specifically interested in the case where two
files have the same $msgid.. ;)

[Attachment #5 (application/pgp-signature)]

_______________________________________________
Exmh-users mailing list
Exmh-users@redhat.com
https://www.redhat.com/mailman/listinfo/exmh-users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic