A number of options were not getting reset in reset_shell_flags(),
reset_shell_options() and reset_shopt_options() so scripts without #!'s
could sometimes run differently than expected.

The attached patch makes these functions more thorough and makes them
properly handle some #defines that were previously not being respected.

--grisha

Attachment: 0001-Properly-reset-options-for-run-of-less-script.patch
Description: Binary data

Reply via email to