Re: [PATCH 1/1] Properly reset options for run of #!-less script
From:
Chet Ramey
Subject:
Re: [PATCH 1/1] Properly reset options for run of #!-less script
Date:
Fri, 6 May 2016 15:16:45 -0400
User-agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:45.0) Gecko/20100101 Thunderbird/45.0
On 4/30/16 7:09 AM, Grisha Levit wrote:
> 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.
Thanks for the fix.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/
[Prev in Thread]
Current Thread
[Next in Thread]
Re: [PATCH 1/1] Properly reset options for run of #!-less script,
Chet Ramey<=