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


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 11786 <at> debbugs.gnu.org, dmantipov <at> yandex.ru, schwab <at> linux-m68k.org
Subject: bug#11786: Use c_strcasecmp for portable ASCII case-insensitive comparison
Date: Tue, 26 Jun 2012 13:28:00 -0700
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).




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

Previous Next


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