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=-3.8 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,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 C32791F4B4 for ; Wed, 30 Sep 2020 14:33:11 +0000 (UTC) Received: from localhost ([::1]:49936 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kNdAM-0005LA-9l for normalperson@yhbt.net; Wed, 30 Sep 2020 10:33:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52274) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kNd7C-0003cC-N8 for bug-gnulib@gnu.org; Wed, 30 Sep 2020 10:29:54 -0400 Received: from mail-pg1-x544.google.com ([2607:f8b0:4864:20::544]:42938) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kNd7B-00026e-3N for bug-gnulib@gnu.org; Wed, 30 Sep 2020 10:29:54 -0400 Received: by mail-pg1-x544.google.com with SMTP id m34so1196478pgl.9 for ; Wed, 30 Sep 2020 07:29:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=igzzn13iGhTsY8Rwn3fx0ta5pjozgMNaJzr05ckKEGQ=; b=DzY8MHIve/gR1fGTUg9kdgQBGYDWUJldfTQ/PmF5iaq15Is6QDdJvNTsrFhhmGb2Mz RDXvcxkvYjm7swvCAjThPffvkmblHF93Th1oxC2SLg9L1yjNHQKTwz0Rsf63vQAMqiC9 eqdWBib4a1LV/s0QYyHma+CEGag2UhnZOZW8NdWVw4hgMYDD2x28a2tzyDIxu23eKlE2 IHCgOm0dy1M0k3ArJVwWIR2xZ2dq2ajJ+/hEgs0vjuFiYk9ruydv0RqIcvu8ZJUfuPLt yj6VzPyDhlgahroy1pG6en/jwiir9BKwBoWTCr2iauqjhGKA1/eJHoUuIBaTsyVxq6Dz 3tPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=igzzn13iGhTsY8Rwn3fx0ta5pjozgMNaJzr05ckKEGQ=; b=C4ieUcnMjt55uNaLoNfSU1U4ZfGtRuljiRSvj9shnoCSPrUCfdg0A826C0PRopRRoq 5nxWQGai1vOjW96bi5YxFiKRZf1EsUey1U6FrtcvUwtY81Zowip3Qxfd3Qe0MU2nlIox UmQOhz1QAbBCM3cObEc/I2q1o9qqni0yiXyLPiJqr/pEByF8+EJUxx9dCZhqfzvguCvL /327BvxpK6ap1wOJYcsE9Q+aLet9Ud17HhNdXv6fkeDGbaGD2HwF2lVONAn0LBySwvi/ ystwHSDmu/4B2eH7gN1y3Vu0TP3QG5b8subOM5pVwn0ixP33R9gSz1RsEF1d/czoIULl qh/Q== X-Gm-Message-State: AOAM533sFek5ilk2v69ZaLbckNrSUSBIwMjqxF1KEMRk6Jh05SMFIuIP tBJVDjV6HWij3nfiVTdtyVbZja569OcjvuFsWiGkHAC49eOYyg== X-Google-Smtp-Source: ABdhPJwOzL5A9rRyJI7B3sHwwdLhDCBQ9P8Xsi5wsuwwK3/WtTJZy8LUTxkYnJy9jkv70h+CIZ79HmCaA5X8+hY52WM= X-Received: by 2002:aa7:8051:0:b029:13e:d13d:a0f7 with SMTP id y17-20020aa780510000b029013ed13da0f7mr2612012pfm.19.1601476191376; Wed, 30 Sep 2020 07:29:51 -0700 (PDT) MIME-Version: 1.0 From: =?UTF-8?Q?Marc_Nieper=2DWi=C3=9Fkirchen?= Date: Wed, 30 Sep 2020 16:29:40 +0200 Message-ID: Subject: hard-locale.c: SETLOCALE_NULL_MAX To: bug-gnulib@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::544; envelope-from=marc.nieper@gmail.com; helo=mail-pg1-x544.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-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: , Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: "bug-gnulib" It seems that I have stumbled across the same bug as reported here: https://bugs.gentoo.org/709732 The compiler throws the following error at me: lib/hard-locale.c: In function 'hard_locale': lib/hard-locale.c:29:15: error: 'SETLOCALE_NULL_MAX' undeclared (first use in this function); did you mean 'SETLOCALE_NULL_ALL_MTSAFE'? 29 | char locale[SETLOCALE_NULL_MAX]; | ^~~~~~~~~~~~~~~~~~ | SETLOCALE_NULL_ALL_MTSAFE lib/hard-locale.c:29:15: note: each undeclared identifier is reported only once for each function it appears in lib/hard-locale.c:31:7: warning: implicit declaration of function 'setlocale_null_r' [-Wimplicit-function-declaration] 31 | if (setlocale_null_r (category, locale, sizeof (locale))) | ^~~~~~~~~~~~~~~~ Is there a quick fix possible? Thanks, Marc