diff options
author | Sebastian Geerken <devnull@localhost> | 2013-01-13 15:21:46 +0100 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2013-01-13 15:21:46 +0100 |
commit | 5797bbb234071775fe6148a29c9224c04912c8c1 (patch) | |
tree | 4bd03596f875f886f7951e43526341b128c087c7 /dpip/dpip.c | |
parent | 657daf90e9a24bfeb3c38aca2682b5f36d86dff3 (diff) | |
parent | 927887827f2a440f1f1b39e58d87b12154098d4a (diff) |
Update with main repo.
Diffstat (limited to 'dpip/dpip.c')
-rw-r--r-- | dpip/dpip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dpip/dpip.c b/dpip/dpip.c index dd97ec4a..e1908317 100644 --- a/dpip/dpip.c +++ b/dpip/dpip.c @@ -489,11 +489,11 @@ void a_Dpip_dsh_close(Dsh *dsh) a_Dpip_dsh_write(dsh, 1, "", 0); /* close fds */ - while((st = close(dsh->fd_in)) < 0 && errno == EINTR) ; + st = dClose(dsh->fd_in); if (st < 0) MSG_ERR("[a_Dpip_dsh_close] close: %s\n", dStrerror(errno)); if (dsh->fd_out != dsh->fd_in) { - while((st = close(dsh->fd_out)) < 0 && errno == EINTR) ; + st = dClose(dsh->fd_out); if (st < 0) MSG_ERR("[a_Dpip_dsh_close] close: %s\n", dStrerror(errno)); } |