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

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