rcolebaugh / rpms / bash

Forked from rpms/bash 2 years ago
Clone
07a490
--- bash-4.1/subst.c	2015-04-07 10:00:00.482931289 +0900
07a490
+++ bash-4.1/subst.c	2015-04-07 10:01:28.258111134 +0900
07a490
@@ -7039,8 +7039,6 @@ 
07a490
 
07a490
       ret = alloc_word_desc ();
07a490
       ret->word = temp1;
07a490
-      ret = alloc_word_desc ();
07a490
-      ret->word = temp1;
07a490
       if (temp1 && QUOTED_NULL (temp1) && (quoted & (Q_HERE_DOCUMENT|Q_DOUBLE_QUOTES)))
07a490
 	ret->flags |= W_QUOTED|W_HASQUOTEDNULL;
07a490
       return ret;