Module Name: src Committed By: enami Date: Wed Nov 26 23:44:21 UTC 2014
Modified Files: src/lib/libc/net: rcmd.c src/usr.bin/rsh: rsh.c Log Message: Changes done in rsh.c rev. 1.35 was incomplete. As chuq pointed in private mail, it broke rcp(1). To achieve the documented behavior and to fix long standing incorrect rsh(1) behavior which I've tried to fix in rev. 1.35, rcmd(1) should have two operation mode; whether it should relay signal information on auxiliary channel or not, depending on the argument `fd2p' passed to rcmd(3). So, make rcmd(1) behave differntly depending on the environment variable and set it when necessary in rcmd(3) according to how auxiliary channel is set up by rcmd(3). To generate a diff of this commit: cvs rdiff -u -r1.70 -r1.71 src/lib/libc/net/rcmd.c cvs rdiff -u -r1.37 -r1.38 src/usr.bin/rsh/rsh.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.