--- - branch: MAIN date: Mon May 9 21:03:10 UTC 2016 files: - new: '1.125' old: '1.124' path: src/bin/sh/eval.c pathrev: src/bin/sh/eval.c@1.125 type: modified - new: '1.19' old: '1.18' path: src/bin/sh/eval.h pathrev: src/bin/sh/eval.h@1.19 type: modified - new: '1.67' old: '1.66' path: src/bin/sh/main.c pathrev: src/bin/sh/main.c@1.67 type: modified id: 20160509T210310Z.8f1e75b93d65eb34d05774e9ca2c711b0e97a3e6 log: | PR bin/48875 - avoid holding (replaced) file descriptors open when running a command in the current shell (so they can be restored for the next command) in cases where it is obvious that there is not going to be a following command to use them. This fixes the problem reported in the PR (though there are still plenty of situations where a FD could be closed but isn't, we do not do full fd flow eveluation to determine whether a fd will be used or not). This is the change that was just committed and then backed out again... OK christos@ module: src subject: 'CVS commit: src/bin/sh' unixtime: '1462827790' user: kre