From: Chet Ramey Date: Fri, 2 Nov 2012 13:58:59 +0000 (-0400) Subject: Bash-4.2 patch 38 X-Git-Tag: bash-4.3~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0213a83a9e0b1eba0807102b1bfbee6f5009b493;p=thirdparty%2Fbash.git Bash-4.2 patch 38 --- diff --git a/builtins/read.def b/builtins/read.def index 4915220c3..e32dec7b4 100644 --- a/builtins/read.def +++ b/builtins/read.def @@ -791,7 +791,7 @@ assign_vars: } #endif - if (saw_escape) + if (saw_escape && input_string && *input_string) { t = dequote_string (input_string); var = bind_read_variable (list->word->word, t); diff --git a/patchlevel.h b/patchlevel.h index 4e51dbc9d..99d2ea259 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 37 +#define PATCHLEVEL 38 #endif /* _PATCHLEVEL_H_ */