The ``magic invocation'' of this function informs m_getfld() that it is
reading a packed mbox file and not an MH-style (one-file-per-message) file.
m_getfld() needs to care for message delimiters then. The ``magic'' of
m_unknown() had vanished some time ago, already. Back then, it needed to
guess which kind of mailbox format the file is. With dropping the support
for MMDF (^A^A^A^A) maildrops, we converted m_unknown() into a plain dump
function ... and now, it also got a boring name. Well ...
int m_putenv(char *, char *);
char *m_mktemp(const char *, int *, FILE **);
char *m_mktemp2(const char *, const char *, int *, FILE **);
-void m_unknown(FILE *);
+void thisisanmbox(FILE *);
int makedir(char *);
char *nmh_getpass(const char *);
char *norm_charmap(char *);
static char fromline[BUFSIZ] = "";
void
-m_unknown(FILE *iob)
+thisisanmbox(FILE *iob)
{
register int c;
register long pos;
/*
** Get the mail from file (usually mail spool)
*/
- m_unknown(in); /* the MAGIC invocation... */
+ thisisanmbox(in);
hghnum = msgnum = mp->hghmsg;
for (;;) {
/*
adios(file, "unable to open");
}
- m_unknown(in);
+ thisisanmbox(in);
for (msgnum = 1; ; ++msgnum) {
state = scan(in, msgnum, SCN_MBOX, fmtstr, width, 0, 0);
if (state != SCNMSG)