Bug#442912: Still seeing the same autodetection errors
Celejar
celejar at gmail.com
Mon Oct 8 17:10:45 UTC 2007
On Mon, 8 Oct 2007 18:41:33 +0200
gregor herrmann <gregor+debian at comodo.priv.at> wrote:
> On Sun, 07 Oct 2007 18:48:09 -0400, Celejar wrote:
>
> > I think I've got it. In MH folders, the message filenames are simply
> > integers. AFAICT, if there's a message / file named '1', then
> > auto-detection works correctly, but if there's no '1' (if, say, it has
> > been deleted), then we get 'mbox', even if there are '2', '3', etc.
>
> Wow that sounds interesting!
>
> > Try the enclosed folder.
>
> Hm, doesn't really work for me:
[snipped copying 2 to 1]
In any event, the auto-detection is clearly still broken; I'm not sure what to infer from the fact that recreating 1 doesn't work.
This is what I meant; the enclosed folder has messages 1-6, and a-d is fine. If any of 2-5 are deleted, a-d is still fine, but if 1 is deleted then mbox is reported.
> If I change
> my $folder = $mgr->open(shift);
> to
> my $folder = $mgr->open(shift, type => 'mh');
> in mbtest.pl I get:
[snipped correct results]
Yes, bypassing a-d works fine.
> Cheers,
> gregor
Celejar
--
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator
-------------- next part --------------
A non-text attachment was scrubbed...
Name: folder.tar.gz
Type: application/octet-stream
Size: 5851 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20071008/6fcb2cac/attachment.obj
More information about the pkg-perl-maintainers
mailing list