On Wed, Mar 02, 2005 at 03:52:33AM -0500, Sanjoy Mahajan wrote: > > Here is an updated patch (also against 0.15.2) to deal with that > situation. It also handles wildcards and the ../Mail/inbox situation > (by checking inode numbers).
Great, thanks. I've applied this and had some fun merging it with the folder omit stuff I've been writing this week. Currently it's still on a branch because I want to do some playing around with it before merging it onto the mainline. The GNU arch revision containing the merged tree is [EMAIL PROTECTED]/mairix--safemfolder--20050303--patch-4 (the mairix webpage has info about where to register the archive from, if this is of any interest to you.) Also (just to warn you!), I'm perhaps going to add a config file option to disable the mfolder validation, although the default will be to leave it on, of course. I'll find out whether I want to do this when I do some empirical testing. (My concern is whether the I/O operations required to expand the ... constructions are going to slow down search mode significantly.) As long as the directory metadata is in memory I doubt there is a problem. I'm worried about the case where it has to be read from disc on a low-memory box more than anything. We'll see anyway. > I also updated the comments in mairix.c on 'notes on folder > management' to agree with what I thought the code did, but check that > I explained it right. Looks better than it was - the comments had obviously decayed out of sync with the code. -- Richard P. Curnow | Free software developer Weston-super-Mare | United Kingdom | http://www.rc0.org.uk/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]