diff options
Diffstat (limited to 'mailutils/mime.c')
| -rw-r--r-- | mailutils/mime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mailutils/mime.c b/mailutils/mime.c index dd81139f2..17d0f9d80 100644 --- a/mailutils/mime.c +++ b/mailutils/mime.c | |||
| @@ -293,7 +293,7 @@ static int parse(const char *boundary, char **argv) | |||
| 293 | } | 293 | } |
| 294 | // parent dumps to fd[1] | 294 | // parent dumps to fd[1] |
| 295 | close(fd[0]); | 295 | close(fd[0]); |
| 296 | fp = fdopen(fd[1], "w"); | 296 | fp = xfdopen_for_write(fd[1]); |
| 297 | signal(SIGPIPE, SIG_IGN); // ignore EPIPE | 297 | signal(SIGPIPE, SIG_IGN); // ignore EPIPE |
| 298 | // or create a file for dump | 298 | // or create a file for dump |
| 299 | } else { | 299 | } else { |
