--- src/bin/cpdup/cpdup.c 2006/08/13 20:51:40 1.13 +++ src/bin/cpdup/cpdup.c 2006/08/14 02:41:10 1.14 @@ -144,6 +144,8 @@ main(int ac, char **av) char *ptr; struct timeval start; + signal(SIGPIPE, SIG_IGN); + gettimeofday(&start, NULL); for (i = 1; i < ac; ++i) { int v = 1; @@ -1294,7 +1296,10 @@ xrename(const char *src, const char *dst static int xlink(const char *src, const char *dst, u_long flags) { - int r, e; + int r; +#ifdef _ST_FLAGS_PRESENT_ + int e; +#endif r = 0;