b8c914
From e80af1fd276d83858d27742ea887415e3263960b Mon Sep 17 00:00:00 2001
b8c914
From: Tony Cook <tony@develop-help.com>
b8c914
Date: Wed, 12 Oct 2016 10:42:47 +1100
b8c914
Subject: [PATCH] (perl 129183) don't treat \ as an escape in PATH for -S
b8c914
MIME-Version: 1.0
b8c914
Content-Type: text/plain; charset=UTF-8
b8c914
Content-Transfer-Encoding: 8bit
b8c914
b8c914
Signed-off-by: Petr Písař <ppisar@redhat.com>
b8c914
---
b8c914
 util.c | 5 ++---
b8c914
 1 file changed, 2 insertions(+), 3 deletions(-)
b8c914
b8c914
diff --git a/util.c b/util.c
b8c914
index 5bb0dfc..6bc2fe5 100644
b8c914
--- a/util.c
b8c914
+++ b/util.c
b8c914
@@ -3352,9 +3352,8 @@ Perl_find_script(pTHX_ const char *scriptname, bool dosearch,
b8c914
 	    if (len < sizeof tmpbuf)
b8c914
 		tmpbuf[len] = '\0';
b8c914
 #  else
b8c914
-	    s = delimcpy(tmpbuf, tmpbuf + sizeof tmpbuf, s, bufend,
b8c914
-			':',
b8c914
-			&len;;
b8c914
+	    s = delimcpy_no_escape(tmpbuf, tmpbuf + sizeof tmpbuf, s, bufend,
b8c914
+                                   ':', &len;;
b8c914
 #  endif
b8c914
 	    if (s < bufend)
b8c914
 		s++;
b8c914
-- 
b8c914
2.9.4
b8c914