From 25e78d8b60d3d6199b950bbf6999439bf235e17f Mon Sep 17 00:00:00 2001 From: ache Date: Fri, 29 Oct 1999 05:11:06 +0000 Subject: toupper -> tolower to match changed behaviour of new grep case fold --- usr.bin/uniq/uniq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/uniq') diff --git a/usr.bin/uniq/uniq.c b/usr.bin/uniq/uniq.c index e185cef..9451dfe 100644 --- a/usr.bin/uniq/uniq.c +++ b/usr.bin/uniq/uniq.c @@ -270,10 +270,10 @@ stricoll(s1, 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