]> git.ipfire.org Git - thirdparty/bash.git/commitdiff
Bash-4.2 patch 38
authorChet Ramey <chet@caleb.ins.cwru.edu>
Fri, 2 Nov 2012 13:58:59 +0000 (09:58 -0400)
committerChet Ramey <chet@caleb.ins.cwru.edu>
Fri, 2 Nov 2012 13:58:59 +0000 (09:58 -0400)
builtins/read.def
patchlevel.h

index 4915220c370b0f59c16973a46e7ed7b6300876e5..e32dec7b46f9f67bb68deac516f59182a370e2f3 100644 (file)
@@ -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);
index 4e51dbc9d944d7ab849ae208bc77af6cc43e670c..99d2ea259a8521e69e9cd3252aab62f7c0c2852d 100644 (file)
@@ -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_ */