From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 12476 invoked from network); 8 Dec 2021 06:23:37 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 8 Dec 2021 06:23:37 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1638944617; b=CcjA85Jp5KTH5capJV8VNIB3XbvMwLdHl/Tsz2jXm9nxaS2xGSumE4TQZstT+O2leFn9M706pp C5qxGQF0OW4XOiWExIYhCssWzjjie3kHl7P/4YIERBOaPLgn/4CKyxqn43Ac5znzGrSzP++Dj5 TfhKm2sIZ6h28g8sk6M/PeyI2T4pyfjKk/VykB4YtU/JpDm8VVzgoQ7zl3ZRKFnCUKKZnaL0bc u8zsuXRxHcB/rsxMvbjmasuTJd1AugjqnFaZZk2F3E1p28kLj7ESJUPmh+hAxDMTeVVyUDjqER URZcfwWk+KLyu9XdNIbcWO/UVlzTZ0fRcNcZhjJmtNN9Mw==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-lf1-f47.google.com) smtp.remote-ip=209.85.167.47; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1638944617; bh=Riekb2Ms2zkLITSG68oW2GZKNd04EucNivyrG1zeRJ8=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Message-ID:Date:References: In-Reply-To:Subject:To:From:Content-Type:DKIM-Signature:DKIM-Signature; b=TKsFdEqPYbuvNmGc1me8n8dmpOG6n90vTF6lIyW7d+zGt9zjst5Si0ITafG3EyXeNeT8EJ2u3z l9s1LXexWoDc+i1/8zUWLEVyyUqtcsOKq0YVf5wErW9PH4gNDQp0QYCsLrCEkpc2u5bKoZLl0n WbmmAhDFeZt0K92sTn+JMqYLtixPenc0fK5vTeM6Ob9A8Sjs4Zdji5E7nx6BvokmctXv5qljDH 4FUKEN+AzZFT2HjmsPbh+gB+n9k0YjU2D0Wmcks/LGjfxG1Ly+JIndYN42FuzQdFtLPFmp08a4 7DSR5RdoIQkvbu7LzkIxYQx6/4oQ5YR+2ibSi5tu4IcbLQ==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Transfer-Encoding:Message-Id: Date:References:In-reply-to:Subject:To:From:Content-Type:Reply-To:Cc: MIME-Version:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=nL/EHsPUIP/L9PqCLIpk9Notwk+Y+DSN6RWzid7IZm0=; b=goQgXDCCRWG3nBW5He1kUzKbix LWVKlJPO23pkMI2ZizCFSib9yPFK9uq+52CjxJRgIYlTWDg7nct/xnN9JonVeGHIuO3/ZqPo4skgH Iy6I77UVju0smnAYnV3knfSxAaVBNvx0pwY7wJ0XSG15KFzKRqkj3oNMsn913L21sknyUqBjABMEc wy/qBT1US6TwLLY1qkwgIj1f2/QJgTldbe2v+sKDpHWLG5TKXXFlOR+dpEFh9uJQRC6syWMX/tYqM GLf1NhJju7spMKFBz8Sy006YMp79KxiuO8biYr0rYGvX1AfaLn0Z5w/lwyNFTJzZwF6a8RyX7Fujg n7ZgeZOg==; Received: from authenticated user by zero.zsh.org with local id 1muqMZ-000IGW-1t; Wed, 08 Dec 2021 06:23:35 +0000 Authentication-Results: zsh.org; iprev=pass (mail-lf1-f47.google.com) smtp.remote-ip=209.85.167.47; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-lf1-f47.google.com ([209.85.167.47]:37545) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1muqM3-000I10-7J; Wed, 08 Dec 2021 06:23:03 +0000 Received: by mail-lf1-f47.google.com with SMTP id c32so3526934lfv.4 for ; Tue, 07 Dec 2021 22:23:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:in-reply-to:references:date:message-id:user-agent :content-transfer-encoding; bh=nL/EHsPUIP/L9PqCLIpk9Notwk+Y+DSN6RWzid7IZm0=; b=HDhWrkGTE4Z0wr0ocWxLxLqOJ0dVQTOQHzOrdFRaDZ9CQFKB5jnLA+B7Ip4wlHNEdX ppkxS19obOtG9PVPlky02pZcbjRbpIqr1+jy81AgV9JKXCv7ByWTc9X1m4lKJCSiQTqI 2D6sC+yC+2rrdBgia5oO6ljgcSCNKsIukwd/dtuFGvrmz7t5gkE1Q+/KEdVbi2MiGdPE vLWZjd9ZNXSdf6wTQ8bNJkn2sW7sC+Isxs/Wd2dLZINdY3ryU7WqZiqEohm0n+9pogZQ mNEDz4VXBYncoSxEkoNgNUVylIijLPhM1Pj+YdpCQ0bgArUestP8dPmBOzwzBzlYdXbI sNgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:user-agent:content-transfer-encoding; bh=nL/EHsPUIP/L9PqCLIpk9Notwk+Y+DSN6RWzid7IZm0=; b=vipMZY37evxfyNRYVDzLKNGckLSvzaOvMJY/Vx6AlEVWmFPhOCDWxs+TqzS94eoNM7 3F8XnJ4TPedWJ0Iw9v8myNUvHf8AGV60OQtV/tDjZsb3BZPqjsu1/CbXTXug5B6q8PN3 8etM/KAKwyZBOVc7KxY77eeeiAIPkg8AZmmZOmKqP803qCDWp1F7gEBlq2AuRitPkWvb EKGyVy3HLHEPbpTBEWxuQLMHgB/HX07sVGlRy08X4qETT9flP2BTtr7l00352eWvtdFZ 1dogfyUfjznMzUaT/NGOjs9QU4BJgeaxe/1Onq1CiViphXj8OwG9IWxHg2x7rCc16EgJ QWTA== X-Gm-Message-State: AOAM533gHSkfULn7D1/eHcyF915dC/MiHk8la/oPvl7qZtpS+x31ViEk aztqzjO4c3ZsD/IVKTlR+14oj8xASNDU0Zvq X-Google-Smtp-Source: ABdhPJz6HBOnI58EKoX7f1I/8J2dfKSfynJzPDSnRevmaDeo4WOmuPSxIjaurf3HFxMSXklgHV2h1w== X-Received: by 2002:a05:6512:11cf:: with SMTP id h15mr45761977lfr.138.1638944582291; Tue, 07 Dec 2021 22:23:02 -0800 (PST) Received: from localhost (78-67-247-110-no2350.tbcn.telia.com. [78.67.247.110]) by smtp.gmail.com with ESMTPSA id y4sm176535ljp.16.2021.12.07.22.23.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Dec 2021 22:23:01 -0800 (PST) Content-Type: text/plain; charset=UTF-8 From: =?utf-8?q?Claes_N=C3=A4st=C3=A9n?= To: zsh-workers Subject: Re: [PATCH] Do not define _POSIX_C_SOURCE when checking for sigset_t on Solaris In-reply-to: <2857-1638901245.652587@SP8t.pF8U.pPnY> References: <1637648446-sup-9516@debian9> <2857-1638901245.652587@SP8t.pF8U.pPnY> Date: Wed, 08 Dec 2021 07:23:00 +0100 Message-Id: <1638944436-sup-2212@debian9> User-Agent: Sup/1.0 Content-Transfer-Encoding: 8bit X-Seq: 49639 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: Excerpts from Oliver Kiddle's message of 2021-12-07 19:20:45 +0100: > On 23 Nov, Claes Nästén wrote: > > Trying to compile zsh on Solaris 10 fails for me right after > > configuration due to misleading information in config.h > > > > The check for sigset_t fails, due to: > > Thank you for isolating the cause of this and for the clear report. > > The definition of _POSIX_C_SOURCE was added in 28989 (April 2011) for > compatibility with musl libc. > > I was thinking it'd be better to define it only for musl rather building > up a list of exceptions such as Solaris. Trying a zsh build on a recent > Alpine Linux system running within podman, it appears to return "yes" > for the sigset_t test both with and without the #define. Perhaps musl > has evolved for greater compatibility with glibc since 2011. I don't > think we should be too concerned about the potential for someone to still > be using old musl. Solaris 10, while quite a bit older than that if > you don't count updates, is still relevant. > Interesting, I would have thought musl wants to stay as compliant as possible. > > patch -R wouldn't work with 28989 because it was using the old > AC_TRY_COMPILE macro at that time so I have attached a patch. > > Oliver > Great, works just as good as skipping on SunOS of course. :)