Re: folders which are numerical names

David Levine <[email protected]>
Newsgroups gmane.mail.nmh.devel
Message-ID <[email protected]>
Ralph wrote:

> We report the problem better in other cases.

Agreed.

How about this simple addition to identify the offending directory:

diff --git a/uip/scan.c b/uip/scan.c
index 00992b3d..80846630 100644
--- a/uip/scan.c
+++ b/uip/scan.c
@@ -224 +224 @@ main (int argc, char **argv)
-			die("scan() botch (%d)", state);
+			die("scan() botch (%d) attemptimg to read %s", state, fnp);
@@ -347 +347 @@ main (int argc, char **argv)
-		    die("scan() botch (%d)", state);
+		    die("scan() botch (%d) attemptimg to read %d", state, msgnum);


That would report a directory named 33 as follow:

scan: unable to read: Is a directory
scan: scan() botch (-3) attemptimg to read 33

David
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.