aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/uniq
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1999-10-24 04:21:42 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1999-10-24 04:21:42 +0000
commit4346bfd3f0e86748ef85b664fc45f1eadb7a3f9d (patch)
tree4f36ee79729658eab3a8cea9630f467592ebb451 /usr.bin/uniq
parentc02e58945605ff5dee2cd0eb4d94197ddf2a3b27 (diff)
downloadsrc-4346bfd3f0e86748ef85b664fc45f1eadb7a3f9d.tar.gz
src-4346bfd3f0e86748ef85b664fc45f1eadb7a3f9d.zip
toupper->tolower to match what strcasecmp does
Notes
Notes: svn path=/head/; revision=52457
Diffstat (limited to 'usr.bin/uniq')
-rw-r--r--usr.bin/uniq/uniq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/uniq/uniq.c b/usr.bin/uniq/uniq.c
index 11f5ea538acf..1a5d8dca1f05 100644
--- a/usr.bin/uniq/uniq.c
+++ b/usr.bin/uniq/uniq.c
@@ -73,10 +73,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);
}