$NetBSD: patch-ae,v 1.1 2006/10/30 03:33:59 jlam Exp $ --- log.c.orig 2003-05-29 02:08:45.000000000 -0400 +++ log.c @@ -373,8 +373,8 @@ ulog (ttype, zmsg, a, b, c, d, f, g, h, uucico with an upper case argv[0]. We work around that by forcing the filename to lower case here. */ for (zlower = zbase; *zlower != '\0'; zlower++) - if (isupper (*zlower)) - *zlower = tolower (*zlower); + if (isupper (BUCHAR (*zlower))) + *zlower = tolower (BUCHAR (*zlower)); zfile = zbufalc (strlen (zLogfile) + strlen (zbase)