From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#11786: Use c_strcasecmp for portable ASCII case-insensitive comparison Date: Tue, 26 Jun 2012 13:28:00 -0700 Organization: UCLA Computer Science Department Message-ID: <4FEA1B50.80701@cs.ucla.edu> References: <4FE91370.2090706@cs.ucla.edu> <834npy9i43.fsf@gnu.org> <83y5na827k.fsf@gnu.org> <4FE9F07D.7060506@cs.ucla.edu> <83sjdi7x47.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1340742551 22837 80.91.229.3 (26 Jun 2012 20:29:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 26 Jun 2012 20:29:11 +0000 (UTC) Cc: 11786@debbugs.gnu.org, dmantipov@yandex.ru, schwab@linux-m68k.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 26 22:29:10 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SjcNn-0004uD-1a for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 Jun 2012 22:29:07 +0200 Original-Received: from localhost ([::1]:35537 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjcNn-0000kc-11 for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 Jun 2012 16:29:07 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51960) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjcNi-0000fV-87 for bug-gnu-emacs@gnu.org; Tue, 26 Jun 2012 16:29:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SjcNg-00039J-Iv for bug-gnu-emacs@gnu.org; Tue, 26 Jun 2012 16:29:01 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49502) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjcNg-000398-FU for bug-gnu-emacs@gnu.org; Tue, 26 Jun 2012 16:29:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SjcRa-0005qj-GR for bug-gnu-emacs@gnu.org; Tue, 26 Jun 2012 16:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 26 Jun 2012 20:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11786 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 11786-submit@debbugs.gnu.org id=B11786.134074272522379 (code B ref 11786); Tue, 26 Jun 2012 20:33:02 +0000 Original-Received: (at 11786) by debbugs.gnu.org; 26 Jun 2012 20:32:05 +0000 Original-Received: from localhost ([127.0.0.1]:59031 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SjcQf-0005ou-IQ for submit@debbugs.gnu.org; Tue, 26 Jun 2012 16:32:05 -0400 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]:59508) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SjcQc-0005ob-MG for 11786@debbugs.gnu.org; Tue, 26 Jun 2012 16:32:04 -0400 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 7121F39E800A; Tue, 26 Jun 2012 13:27:59 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Original-Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id c9rQeWVKU0mw; Tue, 26 Jun 2012 13:27:58 -0700 (PDT) Original-Received: from [192.168.1.10] (pool-108-23-119-2.lsanca.fios.verizon.net [108.23.119.2]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id B8B4839E8007; Tue, 26 Jun 2012 13:27:58 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 In-Reply-To: <83sjdi7x47.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:61312 Archived-At: On 06/26/2012 11:21 AM, Eli Zaretskii wrote: > So is xstrcasecmp. And etags_strcasecmp. And lwlib_strcasecmp. >> > This shrinks and simplifies the source code of Emacs proper. > Your change neither shrinks nor simplifies anything. Sure it does. It coalesces three instances of the same code into one. And it shrinks the source of Emacs proper (i.e., the part that isn't automatically generated).