Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #16626

Re: $SHELLOPTS after function with `local -'

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: $SHELLOPTS after function with `local -'
Date 2020-07-27 12:01 -0400
Organization ITS, Case Western Reserve University
Message-ID <mailman.145.1595865692.2739.bug-bash@gnu.org> (permalink)
References <CAMu=BrqQwOGPL09TJcPJXcugwHeDeeHCtmxyuS=faLJZLymCrw@mail.gmail.com> <2d6f5cf0-8bfd-e9cd-108f-d2ffb4d1bda1@case.edu>

Show all headers | View raw


On 7/24/20 2:14 AM, Grisha Levit wrote:
> The value of $SHELLOPTS is not always updated correctly after returning
> from a function that modifies options after using `local -'.

Thanks for the report. I think this is an easy fix.

Chet

-- 
``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/

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

Re: $SHELLOPTS after function with `local -' Chet Ramey <chet.ramey@case.edu> - 2020-07-27 12:01 -0400

csiph-web