Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • filterproc.c

    re2cc848 r8bd190d  
    1717  int err = 0;
    1818  struct pollfd fds[2];
     19  struct sigaction sig = {.sa_handler = SIG_IGN}, old;
    1920
    2021  fcntl(rfd, F_SETFL, O_NONBLOCK | fcntl(rfd, F_GETFL));
     
    2627  fds[1].events = POLLOUT;
    2728
     29  sigaction(SIGPIPE, &sig, &old);
     30 
    2831  while(1) {
    2932    if(out && *out) {
     
    6467
    6568  *in = g_string_free(str, err < 0);
     69  sigaction(SIGPIPE, &old, NULL);
    6670  return err;
    6771}
Note: See TracChangeset for help on using the changeset viewer.