Treat input on the snp device as an `unsigned char'. According to the

submitter, this permits Russian (and probably other locales') characters
to be entered via watch(8).

PR:		35636
Submitted by:	Gleb Smirnoff <glebius@rinet.ru>
This commit is contained in:
dd 2002-04-10 03:51:49 +00:00
parent 4bf6cc9d03
commit 9d9fcef58c

View File

@ -202,7 +202,7 @@ snpwrite(dev, uio, flag)
struct snoop *snp;
struct tty *tp;
int error, i, len;
char c[SNP_INPUT_BUF];
unsigned char c[SNP_INPUT_BUF];
snp = dev->si_drv1;
tp = snp->snp_tty;