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

Reply via email to