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.4 required=3.0 tests=AWL,BAYES_00, MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE 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 CBFE21F466 for ; Tue, 28 Jan 2020 07:41:41 +0000 (UTC) Received: from localhost ([::1]:54998 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iwLVE-0004Xm-J2 for normalperson@yhbt.net; Tue, 28 Jan 2020 02:41:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38259) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iwLVA-0004XU-Ls for bug-gnulib@gnu.org; Tue, 28 Jan 2020 02:41:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iwLV9-0003Ys-Jb for bug-gnulib@gnu.org; Tue, 28 Jan 2020 02:41:36 -0500 Received: from freefriends.org ([96.88.95.60]:50062) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iwLV9-0003YD-Cq for bug-gnulib@gnu.org; Tue, 28 Jan 2020 02:41:35 -0500 X-Envelope-From: arnold@skeeve.com Received: from freefriends.org (freefriends.org [96.88.95.60]) by freefriends.org (8.14.7/8.14.7) with ESMTP id 00S7fKUr028074 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 28 Jan 2020 00:41:20 -0700 Received: (from arnold@localhost) by freefriends.org (8.14.7/8.14.7/Submit) id 00S7fJUt028073; Tue, 28 Jan 2020 00:41:19 -0700 From: arnold@skeeve.com Message-Id: <202001280741.00S7fJUt028073@freefriends.org> X-Authentication-Warning: frenzy.freefriends.org: arnold set sender to arnold@skeeve.com using -f Date: Tue, 28 Jan 2020 00:41:19 -0700 To: eggert@cs.ucla.edu, arnold@skeeve.com Subject: Re: [PATCH] regex: port to Gawk on nonstandard platforms References: <202001260942.00Q9gGqj027859@freefriends.org> <9740b87a-4db1-27cf-d7a4-ccff1cd4cdac@cs.ucla.edu> In-Reply-To: <9740b87a-4db1-27cf-d7a4-ccff1cd4cdac@cs.ucla.edu> User-Agent: Heirloom mailx 12.5 7/5/10 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 96.88.95.60 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: bug-gnulib@gnu.org Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: "bug-gnulib" Paul Eggert wrote: > On 1/26/20 1:42 AM, arnold@skeeve.com wrote: > > And then in places in regcomp.c BITSET_WORD_BITS is tested in > > several #if/#elif statements. > > Ouch, I hadn't noticed that. It's exercised only on non-GCC platforms > that don't support INT_WIDTH etc., which is why I didn't see it in my > testing. I installed the first attached patch, which should fix it. > Thanks for reporting it. > > While I was at it I also installed the second attached patch, since the > regex code no longer depends on the limits-h module. This second patch > shouldn't affect Awk. Much thanks for the fix. I have pulled it into gawk and we'll see what my testers report. Thanks, Arnold