From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by sourceware.org (Postfix) with ESMTPS id D4AFC3858D37 for ; Tue, 14 Mar 2023 16:07:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D4AFC3858D37 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.de Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 159791F8B5; Tue, 14 Mar 2023 16:07:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1678810058; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=f/LQJkqyp2LOkpayKg6OJRDiyPZNKS4IeSsSCelcqXo=; b=MVt3eGoku4RFQ7jdxizh7rfkJJY2z73buwIXQ/NrzWysSZh5QUNkcbH7WjmCPNuFzD8Ckd UD0DNufydll3+wg1YXjkY/x4oCC8BHf1nYWZra49hjr+WD/v7TrcBLlZ8hPVXh/OoUUQWo DEaWyiHwHykffQR5nJUu4pJzWmyFzew= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1678810058; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=f/LQJkqyp2LOkpayKg6OJRDiyPZNKS4IeSsSCelcqXo=; b=USF2dZCzcu9i1FPJWQYA8vnO7WHzeLzn0Ie5G0Xz463/YfpCTjjxxolH52yOPGzgI4Ilze FfZNuNiTjW9MX9BQ== Received: from hawking.suse.de (unknown [10.168.4.11]) by relay2.suse.de (Postfix) with ESMTP id 094C92C141; Tue, 14 Mar 2023 16:07:38 +0000 (UTC) Received: by hawking.suse.de (Postfix, from userid 17005) id EF8514AACB8; Tue, 14 Mar 2023 17:07:37 +0100 (CET) From: Andreas Schwab To: Joseph Myers Cc: Subject: Re: Update printf %b/%B C2x support References: <75c3c46d-d35c-89ff-df4-dbd274375e1b@codesourcery.com> X-Yow: I Know A Joke Date: Tue, 14 Mar 2023 17:07:37 +0100 In-Reply-To: <75c3c46d-d35c-89ff-df4-dbd274375e1b@codesourcery.com> (Joseph Myers's message of "Fri, 24 Feb 2023 23:56:25 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Feb 24 2023, Joseph Myers wrote: > WG14 recently accepted two additions to the printf/scanf %b/%B > support: there are now PRIb* and SCNb* macros in , and > printf %B is now an optional feature defined in normative text, > instead of recommended practice, with corresponding PRIB* macros that > can also be used to test whether that optional feature is supported. > See N3072 items 14 and 15 for details (those changes were accepted, > some other changes in that paper weren't). > > Add the corresponding PRI* macros to glibc and update one place in the > manual referring to %B as recommended. (SCNb* should naturally be > added at the same time as the corresponding scanf %b support.) Ok. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."