diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2018-06-26 17:04:02 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2018-06-26 17:04:02 +0000 |
commit | 6d8fa98d5167bdd915ce1e32bcb6aaed078e5938 (patch) | |
tree | c233ab9c905e39f085ebdbf1fa9f136e44b20157 | |
parent | 2ede5a4b4a98add3bbf982f5805e015e8c61c565 (diff) | |
download | pcre-6d8fa98d5167bdd915ce1e32bcb6aaed078e5938.tar.gz |
Fix typos in pcrgrep.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1736 2f5784b3-3f2a-0410-8824-cb99058d5e15
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | pcregrep.c | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -22,6 +22,11 @@ The wrapper could never handle such patterns because it wraps patterns in this, that is, move the wrapping till after any existing start-of-pattern special settings. +3. "pcre2grep" (sic) was accidentally mentioned in an error message (fix was +ported from PCRE2). + +4. Typo LCC_ALL for LC_ALL fixed in pcregrep. + Version 8.42 20-March-2018 -------------------------- @@ -2252,7 +2252,7 @@ if (isdirectory(pathname)) int fnlength = strlen(pathname) + strlen(nextfile) + 2; if (fnlength > 2048) { - fprintf(stderr, "pcre2grep: recursive filename is too long\n"); + fprintf(stderr, "pcregrep: recursive filename is too long\n"); rc = 2; break; } @@ -3034,7 +3034,7 @@ LC_ALL environment variable is set, and if so, use it. */ if (locale == NULL) { locale = getenv("LC_ALL"); - locale_from = "LCC_ALL"; + locale_from = "LC_ALL"; } if (locale == NULL) |