mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-11-13 18:13:52 +01:00
Bash-4.1 distribution source
This commit is contained in:
1 parent
89a92869e5
commit
0001803f0b
252 files changed
+51563
-37176
No files matched your search
@@ -113,7 +113,15 @@ copy_redirect (redirect)
|
||||
REDIRECT *new_redirect;
|
||||
|
||||
new_redirect = (REDIRECT *)xmalloc (sizeof (REDIRECT));
|
||||
#if 0
|
||||
FASTCOPY ((char *)redirect, (char *)new_redirect, (sizeof (REDIRECT)));
|
||||
#else
|
||||
*new_redirect = *redirect; /* let the compiler do the fast structure copy */
|
||||
#endif
|
||||
|
||||
if (redirect->rflags & REDIR_VARASSIGN)
|
||||
new_redirect->redirector.filename = copy_word (redirect->redirector.filename);
|
||||
|
||||
switch (redirect->instruction)
|
||||
{
|
||||
case r_reading_until:
|
||||
|
||||
Reference in new issue
Block a user