Stephen Gildea <stepheng+m...@gildea.com> wrote: > 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.
I agree. However, while leading double slashes indicate a Samba path, double or triple or gazillionaple slashes later in the path should be considered as a single slash. If someone is generating leading double slashes that are not Samba paths, I'd consider that a bug. > 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 > > > _______________________________________________ > mh-e-devel mailing list > mh-e-de...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mh-e-devel > -- Bill Wohler <woh...@newt.com> aka <bill.woh...@nasa.gov> http://www.newt.com/wohler/, GnuPG ID:610BD9AD