summaryrefslogtreecommitdiff
path: root/usr.bin
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
parentc02e58945605ff5dee2cd0eb4d94197ddf2a3b27 (diff)
Notes
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/comm/comm.c4
-rw-r--r--usr.bin/uniq/uniq.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/comm/comm.c b/usr.bin/comm/comm.c
index 28e6bd7f6c27..545ea33c692c 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);
}
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);
}