From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: (qmail 8452 invoked from network); 5 May 2020 00:04:21 -0000 Received-SPF: pass (primenet.com.au: domain of zsh.org designates 203.24.36.2 as permitted sender) receiver=inbox.vuxu.org; client-ip=203.24.36.2 envelope-from= Received: from ns1.primenet.com.au (HELO primenet.com.au) (203.24.36.2) by inbox.vuxu.org with ESMTPUTF8; 5 May 2020 00:04:21 -0000 Received: (qmail 11649 invoked by alias); 5 May 2020 00:04:14 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: X-Seq: 45782 Received: (qmail 12181 invoked by uid 1010); 5 May 2020 00:04:14 -0000 X-Qmail-Scanner-Diagnostics: from out2-smtp.messagingengine.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.2/25801. spamassassin: 3.4.4. Clear:RC:0(66.111.4.26):SA:0(-1.1/5.0):. Processed in 0.644396 secs); 05 May 2020 00:04:14 -0000 X-Envelope-From: d.s@daniel.shahaf.name X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: none (ns1.primenet.com.au: domain at daniel.shahaf.name does not designate permitted sender hosts) X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrjeehgddvkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfgjfhfogggtgfesthhqtd dtredtjeenucfhrhhomhepffgrnhhivghlucfuhhgrhhgrfhcuoegurdhssegurghnihgv lhdrshhhrghhrghfrdhnrghmvgeqnecuggftrfgrthhtvghrnhephfdtteefheevuedthe dutdeifeegteettdejtdffheduieeijeelteetkeduteehnecukfhppedutdelrdeiiedr udehrddvfeelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepugdrshesuggrnhhivghlrdhshhgrhhgrfhdrnhgrmhgv X-ME-Proxy: Date: Tue, 5 May 2020 00:03:31 +0000 From: Daniel Shahaf To: zsh-workers@zsh.org Subject: Re: Feature request: ZSH_XTRACEFD variable Message-ID: <20200505000331.59294412@tarpaulin.shahaf.local2> In-Reply-To: <505277422.148264.1588581302888@mail2.virginmedia.com> References: <1563722540.4311.24.camel@samsung.com> <1565710707.5633.11.camel@samsung.com> <309829031.4459446.1587391766024@mail2.virginmedia.com> <20200503000658.6fddb904@tarpaulin.shahaf.local2> <20200503210618.5c639014@tarpaulin.shahaf.local2> <505277422.148264.1588581302888@mail2.virginmedia.com> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Peter Stephenson wrote on Mon, 04 May 2020 09:35 +0100: > > On 03 May 2020 at 22:06 Daniel Shahaf wrote: > > When LC_ALL is unset, the patch calls setlocale() for all known locale > > categories (LC_*), not only for the ones that changed, like langsetfn() > > and lcsetfn() do. Is this a problem? (I guess there was a reason > > langsetfn() and lcsetfn() weren't implemented to begin with via the > > if/else/for combination you just wrote.) =20 >=20 > I don't think it should be a problem as it's just restoring the current > values (unless there's some other bug we're not seeing. It didn't seem > to me worthwhile tracking the individual variables when the calls to > restore the complete state appear straightforward compared with the overa= ll > function exit procedure --- but feel free to disagree if you know more ab= out > that than I do as I'm basically just treating it as a black box. Not disagreeing. Please commit =E2=98=BA