#include <h/mh.h>
#include <fcntl.h>
#include <h/signals.h>
-#include <h/md5.h>
#include <errno.h>
#include <signal.h>
-#include <h/mts.h>
#include <h/tws.h>
#include <h/mime.h>
#include <h/mhparse.h>
-#ifdef HAVE_SYS_WAIT_H
-# include <sys/wait.h>
-#endif
-
-
extern int ebcdicsw;
static char ebcdicsafe[0x100] = {
}
switch (*cp) {
- case ' ':
- case '\t':
- putc(*cp, out);
- n++;
- break;
-
- default:
- if (*cp < '!' || *cp > '~' || (ebcdicsw && !ebcdicsafe[*cp & 0xff]))
- goto three_print;
- putc(*cp, out);
- n++;
- break;
-
- case '=':
+ case ' ':
+ case '\t':
+ putc(*cp, out);
+ n++;
+ break;
+
+ default:
+ if (*cp < '!' || *cp > '~' || (ebcdicsw && !ebcdicsafe[*cp & 0xff]))
+ goto three_print;
+ putc(*cp, out);
+ n++;
+ break;
+
+ case '=':
three_print:
- fprintf(out, "=%02X", *cp & 0xff);
- n += 3;
- break;
+ fprintf(out, "=%02X", *cp & 0xff);
+ n += 3;
+ break;
}
}
int
writeBase64aux(FILE *in, FILE *out)
{
- int cc, n;
+ unsigned int cc, n;
char inbuf[3];
n = BPERLIN;