Revision: 1736
http://vcs.pcre.org/viewvc?view=rev&revision=1736
Author: ph10
Date: 2018-06-26 18:04:02 +0100 (Tue, 26 Jun 2018)
Log Message:
-----------
Fix typos in pcrgrep.
Modified Paths:
--------------
code/trunk/ChangeLog
code/trunk/pcregrep.c
Modified: code/trunk/ChangeLog
===================================================================
--- code/trunk/ChangeLog 2018-06-26 16:51:43 UTC (rev 1735)
+++ code/trunk/ChangeLog 2018-06-26 17:04:02 UTC (rev 1736)
@@ -22,7 +22,12 @@
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
--------------------------
Modified: code/trunk/pcregrep.c
===================================================================
--- code/trunk/pcregrep.c 2018-06-26 16:51:43 UTC (rev 1735)
+++ code/trunk/pcregrep.c 2018-06-26 17:04:02 UTC (rev 1736)
@@ -2252,7 +2252,7 @@
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 @@
if (locale == NULL)
{
locale = getenv("LC_ALL");
- locale_from = "LCC_ALL";
+ locale_from = "LC_ALL";
}
if (locale == NULL)