version 1.14, 1997/07/30 07:19:30 |
version 1.15, 1997/11/14 00:23:45 |
|
|
int printheaders; |
int printheaders; |
{ |
{ |
FILE *fbuf; |
FILE *fbuf; |
int lc, cc, escape, eofcount, fd; |
int lc, cc, escape, eofcount, fd, c, t; |
register int c, t; |
char linebuf[LINESIZE], tempname[PATHSIZE], *cp, getsub; |
char linebuf[LINESIZE], tempname[PATHSIZE], *cp; |
|
char getsub; |
|
sigset_t oset, nset; |
sigset_t oset, nset; |
int longline, lastlong, rc; /* Can deal with lines > LINESIZE */ |
int longline, lastlong, rc; /* Can deal with lines > LINESIZE */ |
|
|
|
|
FILE *fp; |
FILE *fp; |
int f; |
int f; |
{ |
{ |
register FILE *of; |
FILE *of; |
register int c; |
int c; |
ssize_t cc, lc; |
ssize_t cc, lc; |
struct stat junk; |
struct stat junk; |
|
|
|
|
printf("\"%s\" ", name); |
printf("\"%s\" ", name); |
fflush(stdout); |
fflush(stdout); |
} |
} |
if (stat(name, &junk) >= 0 && (junk.st_mode & S_IFMT) == S_IFREG) { |
if (stat(name, &junk) >= 0 && S_ISREG(junk.st_mode)) { |
if (!f) |
if (!f) |
fprintf(stderr, "%s: ", name); |
fprintf(stderr, "%s: ", name); |
fputs("File exists\n", stderr); |
fputs("File exists\n", stderr); |
|
|
char *fn; |
char *fn; |
int f; |
int f; |
{ |
{ |
register int *msgvec; |
int *msgvec; |
struct ignoretab *ig; |
struct ignoretab *ig; |
char *tabst; |
char *tabst; |
|
|
|
|
|
|
void |
void |
savedeadletter(fp) |
savedeadletter(fp) |
register FILE *fp; |
FILE *fp; |
{ |
{ |
register FILE *dbuf; |
FILE *dbuf; |
register int c; |
int c; |
char *cp; |
char *cp; |
|
|
if (fsize(fp) == 0) |
if (fsize(fp) == 0) |