From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-4.7 required=3.0 tests=AWL,BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id DBB691F4B4 for ; Fri, 18 Sep 2020 09:04:14 +0000 (UTC) Received: from localhost ([::1]:60818 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kJCJR-0008MW-9i for normalperson@yhbt.net; Fri, 18 Sep 2020 05:04:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41276) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJCHM-0005ts-Ve for bug-gnulib@gnu.org; Fri, 18 Sep 2020 05:02:04 -0400 Received: from mo4-p00-ob.smtp.rzone.de ([85.215.255.20]:27406) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJCHK-0001or-J0 for bug-gnulib@gnu.org; Fri, 18 Sep 2020 05:02:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1600419719; s=strato-dkim-0002; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=EubJX5mt8fgGpnKUSv8IhvwiSkPww/BYRvOmZaojShM=; b=oZjbxHO1esijZJIALQwC055BtWiYYLtt43FgvnIu+SZPKnwL6J/uPHLuLmwU/HiMPt nVxOXt1O7AK03dvzD9Mc//pwcngpTLhaCJPPafvPlezg74uOzr3pIoSf/th3LQCQ4ijz qEhdHOc6+zIptchCI2ip7rCGiQmwIYSHdvfhXI9VoHx0c/3J0L9sRlvKak7itGmu2D4v zMkPGooCFgzaO3NWDIexaKvGqpSlu9/tB/xA63uKydBhJqdId6oaDC2aOYMlxWwxVaOQ CJ+cA6MtmsIv28UtDUtZsMvLpojgf1DcM8Y6dhOs7ruCE6h1V6W9cunjp9uHbk4mRRRg 8g2A== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH+AHjwLuWOHqfyyPs=" X-RZG-CLASS-ID: mo00 Received: from bruno.haible.de by smtp.strato.de (RZmta 46.10.7 DYNA|AUTH) with ESMTPSA id z05f0fw8I91t2tC (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate); Fri, 18 Sep 2020 11:01:55 +0200 (CEST) From: Bruno Haible To: bug-gnulib@gnu.org Subject: Re: grep-3.4-almost.19-ff30 on Solaris 10 Date: Fri, 18 Sep 2020 11:01:54 +0200 Message-ID: <6160020.m44uqoBmH5@omega> User-Agent: KMail/5.1.3 (Linux/4.4.0-189-generic; KDE/5.18.0; x86_64; ; ) In-Reply-To: <8bd0613b-5c4c-9c82-6310-a9cd061e9c85@cs.ucla.edu> References: <1774887.AL43Kk9qlX@omega> <8bd0613b-5c4c-9c82-6310-a9cd061e9c85@cs.ucla.edu> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Received-SPF: none client-ip=85.215.255.20; envelope-from=bruno@clisp.org; helo=mo4-p00-ob.smtp.rzone.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/18 05:01:59 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: bug-gnulib@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Gnulib discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paul Eggert Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: "bug-gnulib" Hi Paul, > On 9/17/20 1:53 PM, Bruno Haible wrote: > > - { > > - $1 > > - } AS_MESSAGE_FD>/dev/null > > + exec GL_TMP_FD>&AS_MESSAGE_FD AS_MESSAGE_FD>/dev/null > > + $1 > > + exec AS_MESSAGE_FD>&GL_TMP_FD AS_MESSAGE_FD>&- I had a typo in here. Corrected: exec GL_TMP_FD>&AS_MESSAGE_FD AS_MESSAGE_FD>/dev/null $1 exec AS_MESSAGE_FD>&GL_TMP_FD GL_TMP_FD>&- Which expands to: exec 9>&6 6>/dev/null $1 exec 6>&9 9>&- > If a trap occurs during $1 and 'configure' outputs something to stderr before it > exits, the output could be lost due to this patch. No, I don't think so. The file descriptor 2 is unaffected by the file descriptor reshuffle. Only file descriptor 6 is affected, which is the one used by AC_MSG_CHECKING/AC_MSG_RESULT. No one is supposed to use this file descriptor in a 'trap' action. > Looking into it further, gl_SILENT is iffy as a general macro, as discarding > stderr could make scripts harder to debug. I disagree. I want gl_SILENT for the purpose of doing more complex checks inside an AC_CACHE_CHECK invocation. Without gl_SILENT, the message output dictates the structure of the AC_CACHE_CHECKs. This is not good. > Since gl_SILENT is used in just one place in Gnulib signalblocking.m4 is only the first one. I want gl_SILENT also to clean up the getaddrinfo output and others. > fix the issue with gl_SIGNALBLOCKING and cached configuration variables. While the gl_SIGNALBLOCKING patch is correct, it does not help solving the general problem that gl_SILENT is meant to address. Can you please restore it? Bruno