Source-Changes-HG archive

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

[src/netbsd-2-0]: src/usr.bin/rsh Pullup patch (requested by hubert in ticket...



details:   https://anonhg.NetBSD.org/src/rev/d4ca116020aa
branches:  netbsd-2-0
changeset: 562810:d4ca116020aa
user:      jmc <jmc%NetBSD.org@localhost>
date:      Fri Nov 12 05:51:54 2004 +0000

description:
Pullup patch (requested by hubert in ticket #928)

- 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.

diffstat:

 usr.bin/rsh/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r bb5c41d19f58 -r d4ca116020aa usr.bin/rsh/Makefile
--- a/usr.bin/rsh/Makefile      Fri Nov 12 05:37:28 2004 +0000
+++ b/usr.bin/rsh/Makefile      Fri Nov 12 05:51:54 2004 +0000
@@ -1,10 +1,11 @@
-#      $NetBSD: Makefile,v 1.15 2002/09/19 11:31:22 lukem Exp $
+#      $NetBSD: Makefile,v 1.15.2.1 2004/11/12 05:51:54 jmc Exp $
 #      from: @(#)Makefile      8.1 (Berkeley) 7/19/93
 
 .include <bsd.own.mk>
 
+WARNS= 2
 PROG=  rsh
-WARNS= 2
+SRCS=  rsh.c getport.c
 #CPPFLAGS+=-DKERBEROS -DCRYPT
 #SRCS= rsh.c krcmd.c kcmd.c des_rw.c
 #DPADD=        ${LIBKRB} ${LIBDES}



Home | Main Index | Thread Index | Old Index