Hi Ken, > This happens because open() failing is considered a "soft" error and > scan will continue, but read() failing is considered a hard error. > I'd be willing to consider read() failing with EISDIR a soft error. > Thoughts from others?
It compounds the flaws. The original one was not barring an all-digit filename from being a folder. Code just didn't check as much back then. We should state what makes a wise folder name, e.g. /^[[:alpha:]][-_[:alnum:]*$/ in the user's locale. We report the problem better in other cases. $ td /home/tmp/1719392294.254317947 $ cp `mhpath .` 1 $ scan +. 1 24-06-26 Ken Hornstein Re: folders which are numerical names >I'm w $ mkdir ,1 $ rmm 1 rmm: unable to rename 1 to ,1: Is a directory, continuing... $ scan 1 24-06-26 Ken Hornstein Re: folders which are numerical names >I'm w $ mv 1 ,1 $ scan scan: no messages in /home/tmp/1719392294.254317947 $ scan @,1 1 24-06-26 Ken Hornstein Re: folders which are numerical names >I'm w $ -- Cheers, Ralph.