Subject: Re: finger
To: T.SHIOZAKI <email@example.com>
From: Johan Danielsson <firstname.lastname@example.org>
Date: 09/11/2002 23:57:35
"T.SHIOZAKI" <email@example.com> writes:
> I think that at least the finger *server* complying with RFC1288
> should not use isprint(). This server should simply work as:
> - by default, only 0x20-0x7E are allowed.
> - by optional, 0x80-0xFF are allowed.
I think so too. Only the client needs to look at the data.
> Our finger is quite old program. Although good-old-day's libc was
> hard-coded to ASCII, the recent (ISO C compliant) libc is no longer
Yes, but what does this have to do with finger using isprint? What
stops you from doing something with fgetwc/iswprint/fputwc?
(Except possibly that the ones we have are broken and aborts at random