From 0213a83a9e0b1eba0807102b1bfbee6f5009b493 Mon Sep 17 00:00:00 2001 From: Chet Ramey Date: Fri, 2 Nov 2012 09:58:59 -0400 Subject: [PATCH] Bash-4.2 patch 38 --- builtins/read.def | 2 +- patchlevel.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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_ */ -- 2.47.3