#include <getopt.h>
#include <fcntl.h>
#include <unistd.h>
+#include <signal.h>
#include "umpf.h"
void
init(void)
{
+ signal(SIGPIPE, SIG_IGN);
list_init(&input_code);
var_hash = new_var_hash();
const_tab = xmalloc(BUFSIZE);
int res, i, opt;
char* conffile = NULL;
+ save_gids();
while ((opt = getopt(argc, argv, "c:m:")) != -1) {
switch (opt) {
case 'm':
default_mailbox = cat("/var/mail/", p->pw_name);
}
- save_gids();
init();
/* returning from longjump? save the mail and exit */