diff options
author | Denys Vlasenko | 2016-10-26 15:24:30 +0200 |
---|---|---|
committer | Denys Vlasenko | 2016-10-26 15:24:30 +0200 |
commit | 647746076a24a50670a7fab38917606e0ac98be7 (patch) | |
tree | c0ee8a55366985e62b15c330f0637dedc2c0ee9a /shell/hush_test/hush-vars | |
parent | 4135a75ab05f2546f4f9e9b3e69d71f477efc1e8 (diff) | |
download | busybox-647746076a24a50670a7fab38917606e0ac98be7.zip busybox-647746076a24a50670a7fab38917606e0ac98be7.tar.gz |
ash: [REDIR] Replace copyfd by savefd and use dup2 elsewhere
Upstream commit:
Date: Sat, 12 May 2007 18:00:57 +1000
[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.
This does not change much, just reducing our divergence from dash code.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/hush_test/hush-vars')
0 files changed, 0 insertions, 0 deletions