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:
parent
4bf6cc9d03
commit
9d9fcef58c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user