diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2007-05-12 18:00:57 +1000 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2007-05-12 18:00:57 +1000 |
commit | f393ff40ef49c582f614ff44107d1132753693a1 (patch) | |
tree | e4b50109b87c269a41b0a9d924ea58c8a1edda12 /ChangeLog | |
parent | [EVAL] Use dup2 instead of copyfd in evalbackcmd (diff) | |
download | dash-f393ff40ef49c582f614ff44107d1132753693a1.tar.gz dash-f393ff40ef49c582f614ff44107d1132753693a1.zip |
[REDIR] Replace copyfd by savefd and use dup2 elsewhere
There are two kinds of users to copyfd, those that want to copy an fd to an exact value and those that want to move an fd to a value >= 10. The former can simply use dup2 directly while the latter share a lot of common code that now constitutes savefd.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 20c55d1..a7635fb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,7 @@ * Removed unnecessary inclusion of redir.h from parser.c. * Invoke sh_error on error in copyfd. * Use dup2 instead of copyfd in evalbackcmd. + * Replace copyfd by savefd and dup2. 2007-05-05 Herbert Xu <herbert@gondor.apana.org.au> |