aboutsummaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2024-07-12 21:58:04 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2024-07-12 22:10:50 +0200
commit0829fce079dae45737330114c27886cb8af85043 (patch)
tree4c15302da692098b3cfa13c045b7818377c99c10 /TODO
parent1ad2f5cd9fe5de0f19212924e100c6d87229c950 (diff)
downloadbusybox-w32-0829fce079dae45737330114c27886cb8af85043.tar.gz
busybox-w32-0829fce079dae45737330114c27886cb8af85043.tar.bz2
busybox-w32-0829fce079dae45737330114c27886cb8af85043.zip
ash: do not abort interactive mode on >&9999 redirect
With very large fd#, the error code path is different from one for closed but small fd#. Make it not abort if we are interactive: $ echo text >&99 # this wasn't buggy ash: dup2(9,1): Bad file descriptor $ echo text >&9999 # this was ash: fcntl(1,F_DUPFD,10000): Invalid argument function old new delta .rodata 105637 105661 +24 dup2_or_raise 35 38 +3 redirect 1084 1044 -40 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/1 up/down: 27/-40) Total: -13 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'TODO')
0 files changed, 0 insertions, 0 deletions