summaryrefslogtreecommitdiff
path: root/net/uucp/patches/patch-aj
blob: 088e296e4139c894ea7f682e16f41f1e720321d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-aj,v 1.1 2006/10/30 03:33:59 jlam Exp $

--- unix/cohtty.c.orig	2003-05-29 02:08:48.000000000 -0400
+++ unix/cohtty.c
@@ -99,7 +99,7 @@ char enable_device[16];			/* this will h
 		 */
 
 		for(z = strlen(sought_tty.tty_device) ; z > 0 ; z--){
-			if(isdigit(sought_tty.tty_device[z])){
+			if(isdigit(BUCHAR(sought_tty.tty_device[z]))){
 				break;
 			}
 		}