Commit Graph

27 Commits

Author SHA1 Message Date
ginsbach 733e4b48e2 Add -4 and -6 to usage. 2005-03-11 03:20:23 +00:00
ginsbach 605994654d Support -4 and -6. Approved by christos. 2005-03-11 02:45:24 +00:00
ginsbach efcf0fc8a1 Whitespace fix-ups. 2005-01-13 23:02:28 +00:00
christos e4ff3093af remove unused variable 2004-10-16 07:36:08 +00:00
christos d9d5b79249 - Fix bug in port parsing code; s_port must be in network byte order.
- Factor out port parsing code and add error checking to it.
- WARNS=3
2004-10-16 02:03:54 +00:00
agc 89aaa1bb64 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
2003-08-07 11:13:06 +00:00
itojun adeab29eca include des.h, not kerberosIV/des.h 2003-07-23 20:31:18 +00:00
joff 2c4a7474a0 use TCP_NODELAY 2003-06-14 22:43:31 +00:00
hubertf 34f17e9696 set s_proto properly
XXX this doesn't help with rsh insisting on a reserved port, which of course
	fails for non root users. and which only seems to happen when given
	ports >1023, funny enough. anyone? :/
2003-05-22 02:14:03 +00:00
itojun d83368eddb use strlcpy 2003-05-15 00:47:48 +00:00
hubertf fa337680d6 Add -p option to rsh and rlogin to allow specifying a non-standard port
number.
2003-04-07 01:46:41 +00:00
itojun d118467d1c use strlcpy 2002-11-16 13:45:10 +00:00
wiz 4cdb6cf0d7 Remove #ifdef __STDC__. De-__P() and ANSIfy. 2002-06-14 00:51:04 +00:00
cgd a8ec668ddf convert to use getprogname() 2001-02-19 23:03:42 +00:00
itojun 309d0c990b IPv6 support. (I thought I've committed these but was not yet) 2000-01-31 14:19:34 +00:00
christos a8110bb91b Add prototype for orcmd. 1997-07-20 20:44:23 +00:00
christos 03507045bc Fix compiler warnings. 1997-07-06 19:31:28 +00:00
christos 47af6101e4 - PR/3727: Wolfgang Rupprecht: rsh takes 80% of the cpu
- rsh/rcmd combinations don't die sometimes, and spin in poll loops
    + detect errors from read/write etc, don't ignore them in some cases
    + use INFTIM instead of 0 in poll
    + detect invalid file descriptors in poll
    + use varargs/stdarg as appropriate
    + use posix signal calls
    + EWOULDBLOCK -> EAGAIN
1997-06-16 20:54:16 +00:00
mrg 66bc7bd651 fix PR#3710, reported by Tatoku Ogaito <tacha@trap.fukui-med.ac.jp>.
- don't pass pw->pw_name into functions; make a copy.
1997-06-05 16:10:46 +00:00
mrg 32b4c34ed2 rcmd(1) does not use argv[0] for hostname, like rsh does.
apply patch for pr#3695 from <hannken@ppp-jhi.eis.cs.tu-bs.de>.
1997-06-02 11:57:23 +00:00
mrg 04bd3838df add bits to allow this to be compiled as rcmd. 1997-05-26 14:29:36 +00:00
mikel 2a8b3fc882 use FD_SETSIZE instead of manifest constant for select(2); from Rolf
Grossman in PR bin/3338.
1997-03-19 05:36:59 +00:00
mrg 2d7faefcd4 merge lite2 changes. 1997-02-16 15:01:02 +00:00
tls 9d225a1783 RCS ID police 1997-01-09 20:18:21 +00:00
jtc 9e981c23ff sys/signal.h -> signal.h 1995-06-27 00:31:00 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00