From a48a8ac3526e4395f086945cf986d0fea378870b Mon Sep 17 00:00:00 2001 From: Chet Ramey Date: Tue, 22 Nov 2011 20:02:41 -0500 Subject: [PATCH] Bash-4.2 patch 13 --- patchlevel.h | 2 +- subst.c | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/patchlevel.h b/patchlevel.h index c6a761515..636be1ccd 100644 --- a/patchlevel.h +++ b/patchlevel.h @@ -25,6 +25,6 @@ regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh looks for to find the patch level (for the sccs version string). */ -#define PATCHLEVEL 12 +#define PATCHLEVEL 13 #endif /* _PATCHLEVEL_H_ */ diff --git a/subst.c b/subst.c index b23610eeb..df25f632a 100644 --- a/subst.c +++ b/subst.c @@ -3706,7 +3706,10 @@ remove_quoted_nulls (string) break; } else if (string[i] == CTLNUL) - i++; + { + i++; + continue; + } prev_i = i; ADVANCE_CHAR (string, slen, i); -- 2.47.2