Bash-4.4 patch 13
This commit is contained in:
parent
bc007799f0
commit
1aef9c7b55
2 changed files with 3 additions and 1 deletions
2
redir.c
2
redir.c
|
@ -469,6 +469,8 @@ here_document_to_fd (redirectee, ri)
|
|||
return (fd);
|
||||
}
|
||||
|
||||
SET_CLOSE_ON_EXEC (fd);
|
||||
|
||||
errno = r = 0; /* XXX */
|
||||
/* write_here_document returns 0 on success, errno on failure. */
|
||||
if (redirectee->word)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue