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-ASN: AS22989 209.51.188.0/24 X-Spam-Status: No, score=-4.0 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_PASS,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 119101F5AE for ; Tue, 15 Jun 2021 00:56:32 +0000 (UTC) Received: from localhost ([::1]:32864 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lsxNV-0004N7-SN for normalperson@yhbt.net; Mon, 14 Jun 2021 20:56:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34348) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lsxNC-0004Li-0S for bug-gnulib@gnu.org; Mon, 14 Jun 2021 20:56:11 -0400 Received: from mo4-p00-ob.smtp.rzone.de ([85.215.255.20]:14816) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lsxN7-0002EB-FA for bug-gnulib@gnu.org; Mon, 14 Jun 2021 20:56:09 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1623718560; cv=none; d=strato.com; s=strato-dkim-0002; b=fSmyKayBQHKHUSTCdUfKvX2/jLiWhZNnpNNvPSzc7DTpOlq/n7/f7L/e52iswSYt/V jVw+ysTrPxIoRO5epERHBzVgXQ9I2yVD+nRpKk2AwtOtPbGJTyTShEDiOrvewbtGjCbT uW+Bz/hwaqYZ62j3MT7ZVSwCHaIGHi0E01Ho/wSLv+v/tfWPY8lHObEm+eU49dXcaIWw LgS1sGqBlWH7jlxkfSxreSIR6ADVhwBMPjqvVSZSHU4XQ4hNSijj894PJE2+/76F/IdK TXUKprvjJMgo2Bv4rYy/TU4zDv13v6lN9V8+KNvw0EEzTLDucchp3nJ9F20ZNiUvHb/f 6y/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1623718560; s=strato-dkim-0002; d=strato.com; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=37X0nfGJwOqfgVdyBUW3YISlKmTnwzqOVkviPBZjN64=; b=bbfPCPUXGVr8Yu2f8miwTtVMwYnsdRWHjt0GYCmzmaUJFeHidU778uTW6CHiu+Idtr Jk236Lhri9kvvN8R8aCogbtrMAihcyZz4vYKIHVHI9hM0ao/7WcPjsDSLCkrL2U1uAVL Wwz+k97+QEw2ZwY0DL4CJAYNfaco6/RiWq8k6YrLs/FmZB6NilafiTqXGl+1O0ZfocHw QdNpRmq/QOlZFEaVx5+OtA0oyYV1eLGvYx7vkt9aDuvAaiPuStuEtBWStAm0TUGzNHBM IO5bMvqDMMXwjrMaIHiYNYQkyas0kHwFCHOmlZ949zp7lgANjv9che4BCY28oXz/ix+y vhlA== ARC-Authentication-Results: i=1; strato.com; dkim=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1623718560; s=strato-dkim-0002; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=37X0nfGJwOqfgVdyBUW3YISlKmTnwzqOVkviPBZjN64=; b=Vvn0GluoFsf0FIRaFB3GnGnbPiIsSVmk6YcWc/ORLICCvH4P+Ou73ijUzogWQ/r0XP snsTLjw5MYHYM2T1ytMg7R17q7ttCnYCuEBZaKBb9+Zfx4bBOJ+y27LT1JWyv4vLCxcF ib95eujQ/Y0da4rbcKHYKgKz3qvtl/7xtdRjlIz66+eVJK7707oqofLWo6PxMHwFyBbM 1kDrtIbdyUt9ydyeQtzcLEs6vj0po6p8MPtZGjUBLDY0CFm1K1D9Hl/+ZPDa32p+oW+i /FEpkGUwMJ9QA9Du/+Umwd4f69Gxdtrx4Uw4pMQwpv6CfvzFwbAdUiRj2hbsgWEQoghx UC+Q== Authentication-Results: strato.com; dkim=none X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH+AHjwLuWOGKf9yfs=" X-RZG-CLASS-ID: mo00 Received: from bruno.haible.de by smtp.strato.de (RZmta 47.27.2 DYNA|AUTH) with ESMTPSA id q0869dx5F0txzVx (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); Tue, 15 Jun 2021 02:55:59 +0200 (CEST) From: Bruno Haible To: bug-gnulib@gnu.org Subject: Re: [PATCH] idx: new printf/scanf length modifier macro Date: Tue, 15 Jun 2021 02:55:57 +0200 Message-ID: <2822110.aMcOE3a4Hr@omega> User-Agent: KMail/5.1.3 (Linux/4.4.0-210-generic; KDE/5.18.0; x86_64; ; ) In-Reply-To: <20210614234748.41764-1-eggert@cs.ucla.edu> References: <20210614234748.41764-1-eggert@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-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 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.489, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=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" > +/* A printf/scanf length modifier for idx_t. For example, if i is an idx_t, > + printf ("i = %"pIDX"d\n", i) outputs i's value. */ > +#define pIDX "t" Note that this modifier is not supported in internationalized format strings. gettext() supports only the modifier names from . [1] Bruno [1] https://www.gnu.org/software/gettext/manual/html_node/Preparing-Strings.html