bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "+/" with Mailutils


From: Stephen Gildea
Subject: Re: "+/" with Mailutils
Date: Fri, 19 Nov 2021 21:21:40 -0800

Sergey Poznyakoff <gray@gnu.org.ua> wrote:

>   Running 'folder -all +/' on mailutils HEAD, I get the following:
>   
>   folder: stat(/boot/config) failed: No such file or directory
>   folder: stat(/boot/vmlinuz) failed: No such file or directory
>   folder: stat(/boot/System.map) failed: No such file or directory
>                        /+ has no messages;           (others).
>                     /bin  has no messages;           (others).
>                    /boot  has no messages;           (others).
>                     /dev  has no messages;           (others).
>   [..more lines follow..]
>   
>   which looks pretty similar to nmh output (except that nmh prints two
>   slashes where mailutils prints one).

I built mailutils at HEAD, with your fix.  I see that "folders +/"
finds all the root directories, and I don't see garbage characters in
the output.  Thanks for the quick fix.

The difference from nmh, "/bin" vs "//bin", is significant to MH-E,
so the MH-E unit tests still don't pass.

I suspect this is a bug in MH-E.  I think MH-E doesn't parse
"folders +/" correctly, and this failure is papered over by nmh's
adding an extra slash.

To my eyes, "/bin" looks better than "//bin", but maybe I don't
understand the semantics of an MH folder name.

So which "folders" output is correct, mailutils or nmh?  If mailutils
is correct, we can fix MH-E to deal with the correct answer.

 < Stephen



reply via email to

[Prev in Thread] Current Thread [Next in Thread]