nmh-workers
[Top] [All Lists]

failed scans

1998-02-08 23:02:18

I didn't like the behavior when scan failed...it just exited...

I.e:
bash2 2 :leisner(_at_)gnu; scan 1783 1358
scan: message 1783 doesn't exist


I changed scan to work as follows (in 21-pre2):
bash2 2 :leisner(_at_)gnu; scan 1783 1358
scan: message 1783 doesn't exist
1358  08/18 Eli Zaretskii      Re: LFN woes (again)<<OK, here are the patches r

which is better IMHO.

Change was:
bash2 2 :leisner(_at_)gnu; rcsdiff -u scan.c
===================================================================
RCS file: scan.c,v
retrieving revision 1.1
diff -u -r1.1 scan.c
- - --- scan.c      1998/02/08 20:30:48     1.1
+++ scan.c      1998/02/08 20:34:17
@@ -219,7 +219,7 @@
     /* parse all the message ranges/sequences and set SELECTED */
     for (msgnum = 0; msgnum < msgp; msgnum++)
        if (!m_convert (mp, msgs[msgnum]))
- - -           done(1);
+           continue;
     seq_setprev (mp);                  /* set the Previous-Sequence */
 
     context_replace (pfolder, folder); /* update current folder         */


marty           leisner(_at_)sdsp(_dot_)mc(_dot_)xerox(_dot_)com   
Don't  confuse education with schooling.
        Milton Friedman to Yogi Berra


<Prev in Thread] Current Thread [Next in Thread>
  • failed scans, Marty Leisner <=