Changes in filterproc.c [e2cc848:8bd190d]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
filterproc.c
re2cc848 r8bd190d 17 17 int err = 0; 18 18 struct pollfd fds[2]; 19 struct sigaction sig = {.sa_handler = SIG_IGN}, old; 19 20 20 21 fcntl(rfd, F_SETFL, O_NONBLOCK | fcntl(rfd, F_GETFL)); … … 26 27 fds[1].events = POLLOUT; 27 28 29 sigaction(SIGPIPE, &sig, &old); 30 28 31 while(1) { 29 32 if(out && *out) { … … 64 67 65 68 *in = g_string_free(str, err < 0); 69 sigaction(SIGPIPE, &old, NULL); 66 70 return err; 67 71 }
Note: See TracChangeset
for help on using the changeset viewer.