Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-7] src



Module Name:    src
Committed By:   martin
Date:           Mon Dec  1 13:43:14 UTC 2014

Modified Files:
        src/lib/libc/net [netbsd-7]: rcmd.c
        src/usr.bin/rsh [netbsd-7]: rsh.c

Log Message:
Pull up following revision(s) (requested by enami in ticket #286):
        usr.bin/rsh/rsh.c: revision 1.38
        lib/libc/net/rcmd.c: revision 1.71
Changes done in rsh.c rev. 1.36 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.36, 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.69 -r1.69.2.1 src/lib/libc/net/rcmd.c
cvs rdiff -u -r1.36 -r1.36.2.1 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.




Home | Main Index | Thread Index | Old Index