diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 2016-07-14 09:31:52 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 2016-07-14 09:31:52 +0000 |
commit | 6c2a17d0b5fee6276617d01a8625b127a2ae4ada (patch) | |
tree | 5936df185ecbc3ed88b0f53e39a274a9c1cb0adb /contrib/one-true-awk | |
parent | c4c8ae8b874fab65e91ce55b7e47e67561716071 (diff) | |
download | src-test2-6c2a17d0b5fee6276617d01a8625b127a2ae4ada.tar.gz src-test2-6c2a17d0b5fee6276617d01a8625b127a2ae4ada.zip |
Back out non-collating [a-z] ranges.
Instead of changing the whole course to another POSIX-permitted way
for consistency and uniformity I decide to completely ignore missing
regex fucntionality and focus on fixing bugs in what we have now,
too many small obstacles we have choicing other way, counting ports.
Corresponding libc changes are backed out in r302824.
Notes
Notes:
svn path=/head/; revision=302828
Diffstat (limited to 'contrib/one-true-awk')
-rw-r--r-- | contrib/one-true-awk/b.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/contrib/one-true-awk/b.c b/contrib/one-true-awk/b.c index 1bf10b4bfda4..01b91f3f67b6 100644 --- a/contrib/one-true-awk/b.c +++ b/contrib/one-true-awk/b.c @@ -296,11 +296,7 @@ static int collate_range_cmp(int a, int b) return 0; s[0][0] = a; s[1][0] = b; -#ifdef __FreeBSD__ - return (strcmp(s[0], s[1])); -#else return (strcoll(s[0], s[1])); -#endif } char *cclenter(const char *argp) /* add a character class */ |