2013-09-26 17:14:40 +02:00

14 lines
393 B
Plaintext

$NetBSD: patch-aw,v 1.1 2006/04/21 02:07:54 wulf Exp $
--- yapp.c.orig 2006-04-14 11:54:19.000000000 +0930
+++ yapp.c 2006-04-14 11:54:42.000000000 +0930
@@ -505,7 +505,7 @@
w[0] = '\0';
x = 4;
- while (x <= len && isdigit(yapp->buffer[x])) {
+ while (x <= len && isdigit((u_char) yapp->buffer[x])) {
sprintf(w + strlen(w), "%c", yapp->buffer[x]);
x++;
}