copy, tee: assume EINTR is always defined: remove #ifdefs
authorJim Meyering <meyering@redhat.com>
Sun, 30 Jan 2011 15:12:56 +0000 (16:12 +0100)
committerJim Meyering <meyering@redhat.com>
Sun, 30 Jan 2011 19:44:12 +0000 (20:44 +0100)
commitfc3c8e3cdd60d57762c3f274aa449915403171cd
treeab85567a0a00870ae5f169f66756fe876dd11136
parent54602c76a0376152933e6b0702a0fc557993a929
copy, tee: assume EINTR is always defined: remove #ifdefs

Don't use "#ifdef EINTR".  dd.c has been doing that since 2004.
* src/copy.c (sparse_copy): Remove #ifdef...#endif around EINTR use.
* src/tee.c (tee_files): Remove #ifdef...#endif around EINTR use.
If we need it, add something like this in system.h:
/* When EINTR is not defined, define it to an improbable value
   so that each use does not have to be #ifdef'd.  */
 #ifndef EINTR
 # define EINTR 999988
 #endif
src/copy.c
src/tee.c