Commit 4bd61c62 4bd61c62ed2208024109869c306467aa4511c0c0 by Sergey Poznyakoff

Bugfix.

* libmailutils/stream.c (_mu_stream_create): Mask out internal
flags.
* pop3d/pop3d.c (main): Do not handle SIGPIPE, to avoid infinite
recursion.
1 parent c6c97c29
......@@ -249,7 +249,7 @@ _mu_stream_create (size_t size, int flags)
if (size < sizeof (str))
abort ();
str = mu_zalloc (size);
str->flags = flags;
str->flags = flags & ~_MU_STR_INTERN_MASK;
mu_stream_ref (str);
return str;
}
......
......@@ -314,8 +314,7 @@ main (int argc, char **argv)
{
struct group *gr;
int status = OK;
static int sigtab[] = { SIGILL, SIGBUS, SIGFPE, SIGSEGV, SIGSTOP, SIGPIPE,
SIGABRT };
static int sigtab[] = { SIGILL, SIGBUS, SIGFPE, SIGSEGV, SIGSTOP, SIGPIPE };
/* Native Language Support */
MU_APP_INIT_NLS ();
......