diff options
author | Johannes Stezenbach <js@sig21.net> | 2012-10-30 00:22:25 +0000 |
---|---|---|
committer | Johannes Stezenbach <js@sig21.net> | 2012-10-30 00:22:25 +0000 |
commit | 5ddbc863e1731a96abb8cc8d255aaac65d7885c5 (patch) | |
tree | 082052a5471ed3a768f87827047835a232f2bd5f /patches/gcc | |
parent | 34a6501a2e79ef7a740171fddf6ccae916a12b1d (diff) | |
download | crosstool-ng-5ddbc863e1731a96abb8cc8d255aaac65d7885c5.tar.gz crosstool-ng-5ddbc863e1731a96abb8cc8d255aaac65d7885c5.tar.bz2 crosstool-ng-5ddbc863e1731a96abb8cc8d255aaac65d7885c5.zip |
scripts/functions: fix endless loop in debug-shell with IO redirection
CT_DEBUG_INTERACTIVE is disabled when stdin, stdout or
stderr are redirected, but the check is only done at
the start of the build and doesn't catch when individual
build commands use redirection. When stdin is redirected
it will cause the debug shell to exit immediately, causing
and endless loop. Thus, save the stdin/our/err file handles
and restore them before invoking the debug shell.
Signed-off-by: Johannes Stezenbach <js@sig21.net>
Message-Id: <20121030102225.GA8303@sig21.net>
Patchwork-Id: 195409
Diffstat (limited to 'patches/gcc')
0 files changed, 0 insertions, 0 deletions