Blame SOURCES/pcre-8.42-Fix-typos-in-pcrgrep.patch

22122f
From 6d8fa98d5167bdd915ce1e32bcb6aaed078e5938 Mon Sep 17 00:00:00 2001
22122f
From: ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>
22122f
Date: Tue, 26 Jun 2018 17:04:02 +0000
22122f
Subject: [PATCH] Fix typos in pcrgrep.
22122f
MIME-Version: 1.0
22122f
Content-Type: text/plain; charset=UTF-8
22122f
Content-Transfer-Encoding: 8bit
22122f
22122f
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1736 2f5784b3-3f2a-0410-8824-cb99058d5e15
22122f
Petr Písař: Ported to 8.42.
22122f
22122f
diff --git a/pcregrep.c b/pcregrep.c
22122f
index a406be9..5982406 100644
22122f
--- a/pcregrep.c
22122f
+++ b/pcregrep.c
22122f
@@ -2252,7 +2252,7 @@ if (isdirectory(pathname))
22122f
       int fnlength = strlen(pathname) + strlen(nextfile) + 2;
22122f
       if (fnlength > 2048)
22122f
         {
22122f
-        fprintf(stderr, "pcre2grep: recursive filename is too long\n");
22122f
+        fprintf(stderr, "pcregrep: recursive filename is too long\n");
22122f
         rc = 2;
22122f
         break;
22122f
         }
22122f
@@ -3034,7 +3034,7 @@ LC_ALL environment variable is set, and if so, use it. */
22122f
 if (locale == NULL)
22122f
   {
22122f
   locale = getenv("LC_ALL");
22122f
-  locale_from = "LCC_ALL";
22122f
+  locale_from = "LC_ALL";
22122f
   }
22122f
 
22122f
 if (locale == NULL)
22122f
-- 
22122f
2.14.4
22122f