Subject: CVS commit: [netbsd-2-0] src/usr.bin/rsh
To: None <>
From: James Chacon <>
List: source-changes
Date: 11/12/2004 05:51:56
Module Name:	src
Committed By:	jmc
Date:		Fri Nov 12 05:51:56 UTC 2004

Added Files:
	src/usr.bin/rsh [netbsd-2-0]: getport.c

Log Message:
Pullup rev new (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.

To generate a diff of this commit:
cvs rdiff -r0 -r1.1.2.1 src/usr.bin/rsh/getport.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.