summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChet Ramey <chet@caleb.ins.cwru.edu>2012-11-02 09:58:59 -0400
committerChet Ramey <chet@caleb.ins.cwru.edu>2012-11-02 09:58:59 -0400
commit0213a83a9e0b1eba0807102b1bfbee6f5009b493 (patch)
tree5b2dab3c3ea55719f3262c67eb5db5cf28429ea0
parent15be0ec466ca25d1c87d7e6ddd576ced34705fc0 (diff)
downloadbash-0213a83a9e0b1eba0807102b1bfbee6f5009b493.tar.gz
Bash-4.2 patch 38
-rw-r--r--builtins/read.def2
-rw-r--r--patchlevel.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/builtins/read.def b/builtins/read.def
index 4915220c..e32dec7b 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 4e51dbc9..99d2ea25 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_ */