diff --git a/src/copy.c b/src/copy.c index 96bb35b13..4e73e1b87 100644 --- a/src/copy.c +++ b/src/copy.c @@ -160,10 +160,8 @@ sparse_copy (int src_fd, int dest_fd, char *buf, size_t buf_size, ssize_t n_read = read (src_fd, buf, MIN (max_n_read, buf_size)); if (n_read < 0) { -#ifdef EINTR if (errno == EINTR) continue; -#endif error (0, errno, _("reading %s"), quote (src_name)); return false; } diff --git a/src/tee.c b/src/tee.c index 049944288..0518b07cf 100644 --- a/src/tee.c +++ b/src/tee.c @@ -183,10 +183,8 @@ tee_files (int nfiles, const char **files) while (1) { bytes_read = read (0, buffer, sizeof buffer); -#ifdef EINTR if (bytes_read < 0 && errno == EINTR) continue; -#endif if (bytes_read <= 0) break;