1Upstream-Status: Inappropriate [1] 2 3[1] Not the author, the patch is from: 4http://vault.centos.org/5.8/os/SRPMS/rdist-6.1.5-44.src.rpm 5 6--- rdist-6.1.5/src/rshrcmd.c.dist Tue Dec 12 08:20:56 1995 7+++ rdist-6.1.5/src/rshrcmd.c Wed Dec 11 07:14:13 1996 8@@ -64,5 +64,5 @@ 9 sp[0]. */ 10 (void) close(sp[0]); 11- if (dup2(sp[1], 0) < 0 || dup2(0,1) < 0 || dup2(0, 2) < 0) { 12+ if (dup2(sp[1], 0) < 0 || dup2(0,1) < 0) { 13 error("dup2 failed: %s.", SYSERR); 14 _exit(255); 15