From c870ad362411ad3d1fca6f747f0a1884f6bd2284 Mon Sep 17 00:00:00 2001 From: ache Date: Sun, 24 Oct 1999 04:21:42 +0000 Subject: toupper->tolower to match what strcasecmp does --- usr.bin/comm/comm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/comm') diff --git a/usr.bin/comm/comm.c b/usr.bin/comm/comm.c index 28e6bd7..545ea33 100644 --- a/usr.bin/comm/comm.c +++ b/usr.bin/comm/comm.c @@ -71,10 +71,10 @@ int stricoll(char *s1, char *s2) char *p, line1[MAXLINELEN], line2[MAXLINELEN]; for (p = line1; *s1; s1++) - *p++ = toupper((unsigned char)*s1); + *p++ = tolower((unsigned char)*s1); *p = '\0'; for (p = line2; *s2; s2++) - *p++ = toupper((unsigned char)*s2); + *p++ = tolower((unsigned char)*s2); *p = '\0'; return strcoll(s1, s2); } -- cgit v1.1