Subject: Pine source code question

From: Cristiano Lincoln Mattos <[email-masked]>
Date: Wed, 20 Jan 1999 13:47:36 -0200 (EDT)

While analyzing the source code for pine 4.03, i noticed
in imap.c, the function mm_diskerror... there is a portion of it
that does system("csh"), if the user so specifies, from a prompt.
>From what i understood, the user will be presented with this
option if a serious disk error happens... i grep'd the rest of 
the code, to see who would call mm_diskerror, but i could not
find any reference to it.  I'm a bit worried about this, so
Could anyone please indicate me who would call mm_diskerror, and what type
of disk error would have to happen, for the user to be prompted for a
shell?

Thanks,
Cristiano Lincoln Mattos			Recife / PE / Brazil

-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/pine/pine-info/
-----------------------------------------------------------------

---

From: David Dyck <[email-masked]>
Date: Wed, 20 Jan 1999 10:37:06 -0800 (PST)

This was an opportunity to learn something, so 
in pine4.05 I looked for files that contained "mm_diskerror"
and found the following.  Maybe you need to look
in the other directories... (you probably have by now)

find . -type f | xargs grep -l mm_diskerror | xargs file | grep -v ELF

./imap/docs/internal.txt:            English text
./imap/src/c-client/mail.h:          c program text
./imap/src/imapd/imapd.c:            c program text
./imap/src/ipopd/ipop2d.c:           c program text
./imap/src/ipopd/ipop3d.c:           c program text
./imap/src/osdep/unix/unix.c:        c program text
./imap/src/osdep/unix/mtx.c:         c program text
./imap/src/osdep/unix/tenex.c:       c program text
./imap/src/osdep/unix/mmdf.c:        c program text
./imap/src/osdep/unix/mbx.c:         c program text
./imap/src/osdep/tops-20/shortsym.h: c program text
./imap/src/osdep/amiga/unix.c:       c program text
./imap/src/osdep/amiga/tenex.c:      c program text
./imap/src/osdep/amiga/mmdf.c:       c program text
./imap/src/osdep/amiga/mtx.c:        c program text
./imap/src/osdep/amiga/mbx.c:        c program text
./imap/src/osdep/nt/mbxnt.c:         c program text
./imap/src/osdep/nt/unixnt.c:        c program text
./imap/src/osdep/nt/mtxnt.c:         c program text
./imap/src/osdep/nt/tenexnt.c:       c program text
./imap/src/mtest/mtest.c:            c program text
./imap/c-client/c-client.a:          current ar archive
./pine/pine.def:                     ascii text
./pine/imap.c:                       c program text
./pine/abookcpy.c:                   c program text

---

From: Cristiano Lincoln Mattos <[email-masked]>
Date: Wed, 20 Jan 1999 17:29:06 -0200 (EDT)

Hi,

	Yes, i have.  It was a stupid overlook of mine, i did
not specifiy the "-r" option to rgrep, so i didn't descend 
recursively into the subdirs... thanks. :)

Cristiano Lincoln Mattos			   Recife / Brazil