summaryrefslogtreecommitdiff
path: root/net/uucp/patches/patch-ae
blob: 07a1449b123402a2fd4d7901c88e91a559353c6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$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)