Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Mar 2002 21:43:12 +0300 (MSK)
From:      Gleb Smirnoff <glebius@rinet.ru>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        glebius@cell.sick.ru
Subject:   kern/35636: [PATCH] can't input russian chars using watch(8)
Message-ID:  <200203071843.g27IhCB16873@sector.v.gz.ru>

next in thread | raw e-mail | index | archive | help

>Number:         35636
>Category:       kern
>Synopsis:       [PATCH] can't input russian chars using watch(8)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 07 10:50:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Gleb Smirnoff
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
RINET ISP
>Environment:
System: FreeBSD morannon.v.gz.ru 4.5-STABLE FreeBSD 4.5-STABLE #10: Thu Mar 7 20:59:18 MSK 2002 root@morannon.v.gz.ru:/usr/obj/usr/src/sys/MORANNON i386

>Description:
	
>How-To-Repeat:
	Run watch -W and try to input any 8-bit char into snooped tty.
>Fix:
	This patch:

--- /usr/src/sys/kern/tty_snoop.c.orig	Thu Mar  7 21:41:09 2002
+++ /usr/src/sys/kern/tty_snoop.c	Thu Mar  7 21:41:39 2002
@@ -93,7 +93,7 @@
 	int             unit = minor(dev), len, i, error;
 	struct snoop   *snp = &snoopsw[unit];
 	struct tty     *tp;
-	char		c[SNP_INPUT_BUF];
+	unsigned char  c[SNP_INPUT_BUF];
 
 	if (snp->snp_tty == NULL)
 		return (EIO);
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203071843.g27IhCB16873>