GNU bug report logs - #11786
Use c_strcasecmp for portable ASCII case-insensitive comparison

Previous Next

Package: emacs;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Tue, 26 Jun 2012 01:47:08 UTC

Severity: normal

Tags: patch

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #29 received at 11786 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 11786 <at> debbugs.gnu.org, dmantipov <at> yandex.ru, schwab <at> linux-m68k.org
Subject: Re: bug#11786: Use c_strcasecmp for portable ASCII case-insensitive
	comparison
Date: Tue, 26 Jun 2012 21:21:12 +0300
> Date: Tue, 26 Jun 2012 10:25:17 -0700
> From: Paul Eggert <eggert <at> cs.ucla.edu>
> CC: Andreas Schwab <schwab <at> linux-m68k.org>, dmantipov <at> yandex.ru, 
>  11786 <at> debbugs.gnu.org
> 
> c_strcasecmp does what you're saying (it uses c_tolower), and it's
> off-the-shelf code

So is xstrcasecmp.

> This shrinks and simplifies the source code of Emacs proper.

Your change neither shrinks nor simplifies anything.  It does the
exact opposite, in fact.




This bug report was last modified 12 years and 321 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.