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=-3.3 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 DEC661F463 for ; Thu, 12 Dec 2019 22:26:57 +0000 (UTC) Received: from localhost ([::1]:37906 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ifWvA-0004Td-Jm for normalperson@yhbt.net; Thu, 12 Dec 2019 17:26:56 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33235) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ifWv5-0004Qd-PB for bug-gnulib@gnu.org; Thu, 12 Dec 2019 17:26:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ifWv4-0001Gj-TD for bug-gnulib@gnu.org; Thu, 12 Dec 2019 17:26:51 -0500 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:56630) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ifWv4-0001F8-Ln for bug-gnulib@gnu.org; Thu, 12 Dec 2019 17:26:50 -0500 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 7022B160080; Thu, 12 Dec 2019 14:26:47 -0800 (PST) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id gmcafTyd0Qhb; Thu, 12 Dec 2019 14:26:46 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id B593E16027C; Thu, 12 Dec 2019 14:26:46 -0800 (PST) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id GK0R_M__goPm; Thu, 12 Dec 2019 14:26:46 -0800 (PST) Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 98981160080; Thu, 12 Dec 2019 14:26:46 -0800 (PST) Subject: Re: bug#34951: [PATCH] grep: a kwset matcher not work in a grep matcher To: arnold@skeeve.com, noritnk@kcn.ne.jp, 34951@debbugs.gnu.org References: <20190323080618.E6EB.27F6AC2D@kcn.ne.jp> <20190323114902.E6F6.27F6AC2D@kcn.ne.jp> <75091466-e105-c35c-fcd6-19ccca325914@cs.ucla.edu> <201912120731.xBC7V6gD031767@freefriends.org> From: Paul Eggert Organization: UCLA Computer Science Department Message-ID: <38194689-56ba-41f4-3810-50df1ff9019c@cs.ucla.edu> Date: Thu, 12 Dec 2019 14:26:46 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <201912120731.xBC7V6gD031767@freefriends.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 131.179.128.68 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" On 12/11/19 11:31 PM, arnold@skeeve.com wrote: > 1,$s/ptrdiff_t/ssize_t/g ssize_t can be narrower than ptrdiff_t, so it's not a good type to use for this notion. Its original motivation was "the type that 'read' returns", and on systems where 'read' can return at most INT_MAX, ssize_t can be 32 bits even if size_t is 64 bits.