I'm glad you're upgrading to bash-4.4. This change was made nearly five
years ago; the time to relitigate it has long passed.
has this buried nugget:
+ - shopt_set_debug_mode: make sure error_trace_mode reflects the setting
+ of extdebug. This one is tentative. Fix from Grisha Levit > +
<grishalevit@gmail.com>
+ - shopt_set_debug_mode: call set_shellopts after setting
error_trace_mode
+ or function_trace_mode. Fix from Grisha Levit <grishalevit@gmail.com>
You can take that and find the original bug report, with Grisha's patch:
https://lists.gnu.org/archive/html/bug-bash/2016-05/msg00000.html
Since the bash-4.3 man page said that setting `extdebug' means that error
tracing is enabled, and implies the opposite is true, it makes sense to
ensure that the `errtrace' value reflects the value of `extdebug' when it's
changed.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/