Sergey Poznyakoff <g...@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