X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/794dab6aa5027ffaf024506140c258f6a0a9322d..403ef747e65b7a6441ea0ab022f6e6ee6591beb7:/uip/mshcmds.c diff --git a/uip/mshcmds.c b/uip/mshcmds.c index 427bff60..13ad3562 100644 --- a/uip/mshcmds.c +++ b/uip/mshcmds.c @@ -68,6 +68,8 @@ static int process (int, char *, int, char **); static void copy_message (int, FILE *); static void copy_digest (int, FILE *); +/* from mhlsbr.c */ +int mhlsbr (int, char **, FILE *(*)()); void forkcmd (char **args, char *pgm) @@ -933,11 +935,16 @@ forwcmd (char **args) /* foil search of .mh_profile */ snprintf (buf, sizeof(buf), "%sXXXXXX", invo_name); +/* + Mkstemp work postponed until later -Doug #ifdef HAVE_MKSTEMP vec[0] = (char *)mkstemp (buf); #else +*/ vec[0] = (char *)mktemp (buf); +/* #endif +*/ vec[vecp++] = "-file"; vec[vecp] = NULL; if (!msgp) @@ -1451,7 +1458,7 @@ static struct swit packswit[] = { { NULL, 0 } }; -static mbx_style = MMDF_FORMAT; +static int mbx_style = MMDF_FORMAT; void packcmd (char **args)