Subject: Re: finger
To: None <kim@tac.nyc.ny.us>
From: T.SHIOZAKI <tshiozak@astec.co.jp>
List: tech-userlevel
Date: 09/10/2002 15:51:33
From: "T.SHIOZAKI" <tshiozak@astec.co.jp>
Subject: Re: finger
Date: Tue, 10 Sep 2002 15:45:42 +0900 (JST)
Message-ID: <20020910.154542.112797457.tshiozak@astec.co.jp>

> --- src/usr.bin/finger/net.c	2002/09/10 03:02:40	1.18
> +++ src/usr.bin/finger/net.c	2002/09/10 06:38:41

...

> @@ -146,9 +146,8 @@
>  				c = '\n';
>  				lastc = '\r';
>  			} else {
> -				if (!isprint(c) && !isspace(c)) {
> -					c &= 0x7f;
> -					c |= 0x40;
> +				if (b8flag && !ascii_isprint(c)) {
> +					c = '?';

sorry, this is wrong.

correct:
+				if (!b8flag && !ascii_isprint(c)) {
+					c = '?';


--
Takuya SHIOZAKI / ASTEC Products, Inc.