]> diplodocus.org Git - nmh/commit
Removed the static m_getfld() state instance and replaced
authorDavid Levine <levinedl@acm.org>
Mon, 21 Jan 2013 03:27:54 +0000 (21:27 -0600)
committerDavid Levine <levinedl@acm.org>
Mon, 21 Jan 2013 03:27:54 +0000 (21:27 -0600)
commitadc0a3232c43033729dbc036f0757bddfba463bd
treecc33b5095e78888f7b56fef5db651b535ee19e17
parent5294e3ddb691edd6cb079d8f0b56e8c9ed95bc84
Removed the static m_getfld() state instance and replaced
with functions for callers to create and destroy their own
instances.  This also allows inc, msh, and pick to call
m_getfld() with an initial file stream position other than 0.

There is now a global state instance so that scan can call
m_unknown() on maildrop files.  It'd be nice to get rid of
that.
28 files changed:
h/mh.h
h/prototypes.h
sbr/m_getfld.c
sbr/readconfig.c
sbr/seq_read.c
uip/distsbr.c
uip/forwsbr.c
uip/inc.c
uip/mhbuildsbr.c
uip/mhcachesbr.c
uip/mhlsbr.c
uip/mhparse.c
uip/msh.c
uip/mshcmds.c
uip/new.c
uip/picksbr.c
uip/post.c
uip/prompter.c
uip/rcvdist.c
uip/rcvtty.c
uip/replsbr.c
uip/scan.c
uip/scansbr.c
uip/sendsbr.c
uip/show.c
uip/slocal.c
uip/sortm.c
uip/whatnowsbr.c