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=-1.1 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 1389 invoked from network); 6 Nov 2022 19:06:15 -0000 Received: from mail-lj1-x239.google.com (2a00:1450:4864:20::239) by inbox.vuxu.org with ESMTPUTF8; 6 Nov 2022 19:06:15 -0000 Received: by mail-lj1-x239.google.com with SMTP id s17-20020a2e98d1000000b002771cfb868esf3281992ljj.5 for ; Sun, 06 Nov 2022 11:06:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1667761574; cv=pass; d=google.com; s=arc-20160816; b=Ql8rE3g1y9RxK8BIJOp+ec55rXvgtqENc6R6APa7SYRMaWZtZ9CmyJubsnDcUELyCf dWIDOjZLAdesTgrgXY2uMso9Wzz4sMWx9I1NaFgzpfphPuvTldnf/VUAoPWMBRLsCNCO 3HqOFvU37yCYw4Wz7TtuGVY2yPNnrIvI6SGEKWij9l+VF1N9bxrDWeU2MsaJHlOVKBEm 1JOSTmPLyZSe/4YWsUoaADmFT/94IWtOdpFCG96FAJiog2Ir/t5rrqdVgRloPPF8VcDI rPwTNNmth5UvKpNtbtaWEgq5uoRIDoIrkohXycR/iQ6vhr35/ITJ3iDv1VYrfIl4mrN9 EDrA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=WrwwRCi6O4QXWuaNWNHleLlx6IBEOkxJ9g5Do3nBDVc=; b=S0zvc4lwKZHiaOODUTbHZhe7lclce99yxOqZSWfS2T+oc4tocNp8+AcAA/8H8mehpS 3yf9oIR++PO0MqHe2yNpTBMPRHkpV79c8K6i4mjWjMF1SNlZypff/RgeJ5SUmH7QqfsE 8aTIe8zVRujYLDdSPPi73vfbHO5Ndfdy+wIHtLw2E5/+ufw0lhiD543F2XpA9E3vnkfi kcaPnTxlObCSegg//WK8qY+yRnLi5ps+aWNGvDRskCbxV6oU9RPBiIZ4zObEfzK1aMnY p+9IFiFuor+7OymNvIgrlQ+Yi2y61LhAOkVBbHBIOykyqj0N2KGJz0Q1wdHX9z93gn2C g4BQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@fifth.space header.s=20190812 header.b=V6UBB72n; spf=pass (google.com: domain of quinq@fifth.space designates 45.32.148.28 as permitted sender) smtp.mailfrom=quinq@fifth.space; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=fifth.space DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=WrwwRCi6O4QXWuaNWNHleLlx6IBEOkxJ9g5Do3nBDVc=; b=q9PfDymLcfK+S6KkxFzf3GESuQWb0KRLdl7SW2LFOsh6bE16fDpFJ9oQi185pWCPqB 5woZpkcd4ASrcBYIsJO/vPGCDHuJAhew6ppC0fHOQVewowX8ObmgWe+pmXcdxhIHwGJM +JFBTHbWZo/9KhSNejq2b9tXGyFyaR3btZsdQq7WfRRxyFJDwXQMNwo/39ZIoaeEKvnm crgm++NmiK5e8hJWzQkTXhka0UjiBCPq3GHVD830u7hFDeORVpeXYH+jbKreTVJifZn9 /p0cNR5VuzpssvEMSKiM69k7+4ySISJ6bqw4apY6OtC8RxFo9FIIZ/MBQPQkuKvFOCGV m4sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=WrwwRCi6O4QXWuaNWNHleLlx6IBEOkxJ9g5Do3nBDVc=; b=xDtgnCe1bivWngpPAqR4vVwkaud188l1tVLnlrer3LO249So9hKVc/YTMl4KKWeVmG P6Csh9HFOfotTTQTnOhfaH6ylEdH5rMq+VGRcSccpeNbS9VfbRkdEdTeibbeAqVRZZ/b GM8XWZb2an8XtkYO9PxerE4Eu2g7sGG8asuwlE3tQqEdy4sGa+utO0cqZtWa5RLyVXcD XNBKOl7Eap+9zvycJYzcZjpr054R3jwc9olBh9B/y/SmdHaSM0CSNt1QS+eqrgu536zb Ugbpv7ajst7wtnIKID+ZhZZ3UyXgfy3J7sAU3tVLTBhXK2DNp69gdwmZS1u1fcfwi/Rn HESA== X-Gm-Message-State: ACrzQf2iyccViQZDgr6ticHvY9jcXii7HOgOxCntFRv6emv1MyAsXEC5 dGluWefLWQ2jywHZMWWX32Y= X-Google-Smtp-Source: AMsMyM6jg0qWD/254m47jMTb78gcdjfaahvTSRRDnulfWtAPxd1nb3WrYpZ8IIO2GwfPmxun5n5EDA== X-Received: by 2002:a2e:8696:0:b0:276:35b5:67d with SMTP id l22-20020a2e8696000000b0027635b5067dmr4650936lji.366.1667761574675; Sun, 06 Nov 2022 11:06:14 -0800 (PST) X-BeenThere: voidlinux@googlegroups.com Received: by 2002:a05:6512:3e6:b0:4a2:3951:eac8 with SMTP id n6-20020a05651203e600b004a23951eac8ls5558431lfq.0.-pod-prod-gmail; Sun, 06 Nov 2022 11:06:12 -0800 (PST) X-Received: by 2002:a05:6512:3241:b0:4a2:4f95:c02e with SMTP id c1-20020a056512324100b004a24f95c02emr15625131lfr.23.1667761572790; Sun, 06 Nov 2022 11:06:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667761572; cv=none; d=google.com; s=arc-20160816; b=oDNUW5sQgasfSicgZMoWjuSTT4JffDE0JZte3XP8fRdoTnqwQAUL7KU8AluSnEkc8y POioP3LVrP6BwViXX90oDX1+LBM0NwgFJzTFjGrh74hhIs++R/pnew/9RAPxkCesVl6L NIw72J2mewHGN19yX7uuG+LZR3JAxJ710puDmCxbPbOCNPXKMa4KbyGtFtqUS/qSiMs4 Ld1CNboFABzzk+sJGOjUr3iwSwbmZO8e003LE2DTRrBW2ZaRCY3+hY7ixFl9Q2mJk2HE IkuG+HpZqqZcUrJBH5bJ1d5ektciv6pa4vBEc5gVJid1ukGirpN1WGF0Qlo4587fKc3R zfsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:dkim-signature; bh=mKV8bEhfZcLLZFtI14Wn0RQ18D2vyTBRoBA+BRnDiss=; b=DhVCmrZtAEKUHwc0fx6psiEOa/+m6jA11shDH1NlXUQf4qbce5O7H/pXHIhnvGoDKX moIUcgIgBcyCV8cadN6y0zP+EOMuHZG++Gvfh4iWuVi5KrNCsbH65DVl81z7/bDNCsPI Mw91jdxJdDZJNBhqYOMxymD/FtApi4zyZNR7LhQlYxLCg9k69elhHRuxmepIlhlhq6bq Qxf3udIG4xRRn+HuDKIwyZNKUg/hDhyR37LJ67IDmMQz1GIJjVRZXlKStXUQqtuEeAzC +gQb1T2V24pMQjX01kEb7UlqN44VlSvNSqclm13S9mQwoyLHFt3+uNOYM4ppeBPHim46 V2DQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@fifth.space header.s=20190812 header.b=V6UBB72n; spf=pass (google.com: domain of quinq@fifth.space designates 45.32.148.28 as permitted sender) smtp.mailfrom=quinq@fifth.space; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=fifth.space Received: from fifth.space (fifth.space. [45.32.148.28]) by gmr-mx.google.com with ESMTPS id i24-20020a2ea378000000b0027760dd5b20si191565ljn.3.2022.11.06.11.06.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 06 Nov 2022 11:06:12 -0800 (PST) Received-SPF: pass (google.com: domain of quinq@fifth.space designates 45.32.148.28 as permitted sender) client-ip=45.32.148.28; Received: by fifth.space (OpenSMTPD) with ESMTPSA id 6e822610 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Sun, 6 Nov 2022 20:06:03 +0100 (CET) From: "'Quentin Rameau' via voidlinux" To: voidlinux@googlegroups.com Subject: Re: [PATCH] musl: move NPROCESSORS* constants to regular namespace Date: Sun, 6 Nov 2022 20:05:57 +0100 Message-Id: <20221106190558.26434-1-quinq@fifth.space> X-Mailer: git-send-email 2.38.1 In-Reply-To: <87o7tkvtw7.fsf@vuxu.org> References: <87o7tkvtw7.fsf@vuxu.org> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Original-Sender: quinq@fifth.space X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@fifth.space header.s=20190812 header.b=V6UBB72n; spf=pass (google.com: domain of quinq@fifth.space designates 45.32.148.28 as permitted sender) smtp.mailfrom=quinq@fifth.space; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=fifth.space X-Original-From: Quentin Rameau Reply-To: Quentin Rameau Precedence: list Mailing-list: list voidlinux@googlegroups.com; contact voidlinux+owners@googlegroups.com List-ID: X-Google-Group-Id: 289663804196 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Hi Leah, Thank you for taking the time to review this. > That will break current scripts using `getconf _NPROCESSORS_CONF`. > From the man page, it's not clear to me if things there need > underscores or not, but imo we should extend the script in a > backward-compatible way. I highly doubt anybody is relying on the constants from the reserved namespace, as on most other systems, those are exposed directly. For the names, the POSIX getconf additions from the page I linked explains it: =E2=80=9CThe names NPROCESSORS_CONF and NPROCESSORS_ONLN. The values of the= se configuration variables shall be determined as if they were obtained by calling the function sysconf() with the argument _SC_NPROCESSORS_CONF or _SC_NPROCESSORS_ONLN, respectively.=E2=80=9D This would be added in the section =E2=80=9Csystem_var: A name of a configuration variable. All of the following variables shall be supported:=E2=80=9D I nevertheless kept the previous underscored versions just in case, I suppose that we could remove those after the POSIX release. Cheers! --=20 You received this message because you are subscribed to the Google Groups "= voidlinux" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to voidlinux+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/= voidlinux/20221106190558.26434-1-quinq%40fifth.space.