# define _cnt _w /* Wretch */
#endif
-#ifdef SCO_5_STDIO
-# define _ptr __ptr
-# define _cnt __cnt
-# define _base __base
-# define _filbuf(fp) ((fp)->__cnt = 0, __filbuf(fp))
-#endif
-
#define MAXSCANL 256 /* longest possible scan line */
/*
char *scnmsg = NULL;
FILE *scnout = NULL;
char name[NAMESZ];
- char returnpath[BUFSIZ];
- char deliverydate[BUFSIZ];
int incing = (outnum != SCN_MBOX && outnum != SCN_FOLD);
int scanfolder = (outnum == SCN_FOLD);
long fpos;
return SCNNUM;
if (!(scnout = fopen(scnmsg, "w")))
adios(scnmsg, "unable to write");
- /*
- ** Add the Return-Path and Delivery-Date
- ** header fields to message.
- */
- if (get_returnpath(returnpath, sizeof(returnpath),
- deliverydate, sizeof(deliverydate))) {
- FPUTS("Return-Path: ");
- FPUTS(returnpath);
- FPUTS("Delivery-Date: ");
- FPUTS(deliverydate);
- }
}
/* scan - main loop */