summaryrefslogtreecommitdiff
path: root/emulators/tme/patches/patch-ae
blob: f9e97abd07dc2c86f1ad192ef2a418bafcb8e237 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ae,v 1.1 2004/12/05 07:32:17 skrll Exp $

--- serial/serial-kb.c.orig	2003-10-16 03:48:25.000000000 +0100
+++ serial/serial-kb.c
@@ -966,7 +966,7 @@ TME_ELEMENT_X_NEW_DECL(tme_serial_,kb,ke
       }
       for (p1 = line_buffer;
 	   ((c = *(p1++)) != '\0'
-	    && isspace(c)););
+	    && isspace((unsigned char)c)););
       if (c == '\0'
 	  || c == '#') {
 	continue;
@@ -1049,7 +1049,7 @@ TME_ELEMENT_X_NEW_DECL(tme_serial_,kb,ke
     }
     for (p1 = line_buffer;
 	 ((c = *(p1++)) != '\0'
-	  && isspace(c)););
+	  && isspace((unsigned char)c)););
     if (c == '\0'
 	|| c == '#') {
       continue;