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, RCVD_IN_DNSWL_LOW,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 75D0D1F466 for ; Wed, 29 Jan 2020 20:27:58 +0000 (UTC) Received: from localhost ([::1]:51034 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iwtwL-0000w6-MN for normalperson@yhbt.net; Wed, 29 Jan 2020 15:27:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42484) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iwtwH-0000vP-96 for bug-gnulib@gnu.org; Wed, 29 Jan 2020 15:27:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iwtwG-0003gn-9N for bug-gnulib@gnu.org; Wed, 29 Jan 2020 15:27:53 -0500 Received: from mo6-p00-ob.smtp.rzone.de ([2a01:238:20a:202:5300::3]:31008) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iwtwF-0003g2-Kh for bug-gnulib@gnu.org; Wed, 29 Jan 2020 15:27:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1580329669; s=strato-dkim-0002; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=vxa5yDWMaq1yDRmXMzGk/yG9YlAcfU1KylA/HSJHw7Q=; b=KGxT9Dh9u1JleqKx5nWayREv/sQqXoUBm3O8bCj1ja5NTXxRzv9oyM42rdwuzSK4PG gGpVKgWa0/7VfRhj7HGSVOW3C0acaS8fhF0f1E8gWDMUUaqlfqxkHdGvtCAhEhdmAqEz s0die5TnN/ZcPOuS93qbYG8g67yInrP7kBjLaRzr+0sJA2mJ7ElH+8KQBee9c51iFA1o TwMRYiLQ3TLoIgkKD0R2YnZnDf5mpnSzij4ecN3hFOM0nvNd2gI5xFSXcSeAnw4olPiH wmSMNiUzKQrmetjkE8vnelSasLCGBRniV59jHwiOR5LsQ0nvwGKIvqxZuJIGR+hadn+7 1hIg== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH+AHjwLuWOH6fzxfs=" X-RZG-CLASS-ID: mo00 Received: from bruno.haible.de by smtp.strato.de (RZmta 46.1.8 DYNA|AUTH) with ESMTPSA id N0be15w0TKRi0zo (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); Wed, 29 Jan 2020 21:27:44 +0100 (CET) From: Bruno Haible To: Paul Eggert Subject: Re: isblank Date: Wed, 29 Jan 2020 21:27:44 +0100 Message-ID: <9524105.15WQivhpVr@omega> User-Agent: KMail/5.1.3 (Linux/4.4.0-171-generic; KDE/5.18.0; x86_64; ; ) In-Reply-To: References: <202001291418.00TEIGrO030551@freefriends.org> <33627708.OG805fn80Z@omega> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a01:238:20a:202:5300::3 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: arnold@skeeve.com, bug-gnulib@gnu.org Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: "bug-gnulib" Paul Eggert wrote: > * Gawk dfa.c doesn't use isblank, but instead defines its own is_blank > that is hard-coded to the C locale. Isn't [[:blank:]] supposed to be > locale-dependent? '[[:blank:]]', when applied to wide characters, is surely locale and OS dependent, yes. But... > Or are you assuming that space and tab are the only > blank characters in all single-byte locales? This is assumption is justified by the fact that gnulib's test-isblank.c succeeds on all platforms (as far as I know). It contains: for (c = 0; c <= UCHAR_MAX; c++) ASSERT (!isblank (c) == !(c == ' ' || c == '\t')); Bruno