File bash-4.3-redir.patch of Package bash.18439

X-Git-Url: https://git.savannah.gnu.org/gitweb/?p=bash.git;a=blobdiff_plain;f=redir.c;h=0f40bd00a8d6aff9f2a19bbb3d47206ddc3328a6;hp=63801548636d08262ac22646e211c9a29c03b098;hb=de8f10560455d40ac8e2e517e8fb67f33745fa4a;hpb=4eb81d59d0ecb59ad64953e85a3380a4d5c96137

diff --git a/redir.c b/redir.c
index 6380154..0f40bd0 100644
--- a/redir.c
+++ b/redir.c
@@ -1,6 +1,6 @@
 /* redir.c -- Functions to perform input and output redirection. */
 
-/* Copyright (C) 1997-2012 Free Software Foundation, Inc.
+/* Copyright (C) 1997-2015 Free Software Foundation, Inc.
 
    This file is part of GNU Bash, the Bourne Again SHell.
 
@@ -325,7 +325,7 @@ write_here_string (fd, redirectee)
   /* Now that we've changed the variable search order to ignore the temp
      environment, see if we need to change the cached IFS values. */
   sv_ifs ("IFS");
-  herestr = expand_string_to_string (redirectee->word, 0);
+  herestr = expand_string_unsplit_to_string (redirectee->word, 0);
   expanding_redir = 0;
   /* Now we need to change the variable search order back to include the temp
      environment.  We force the temp environment search by forcing
openSUSE Build Service is sponsored by