diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 1999-12-10 13:28:23 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 1999-12-10 13:28:23 +0000 |
| commit | 02e520d4f5a9067c76eee7d74e98f54d9c68dae3 (patch) | |
| tree | c9bb60e364a08716e725c5d3cf3ca465f0aae534 /usr.bin | |
| parent | da4b6288aa4c467adb76a73f7317767071c7664c (diff) | |
Notes
Diffstat (limited to 'usr.bin')
| -rw-r--r-- | usr.bin/comm/comm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/comm/comm.c b/usr.bin/comm/comm.c index 1adaaeca4688..c1a23a0b58ed 100644 --- a/usr.bin/comm/comm.c +++ b/usr.bin/comm/comm.c @@ -210,10 +210,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); + return strcoll(line1, line2); } |
