emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/regex.c,v


From: Kenichi Handa
Subject: [Emacs-diffs] Changes to emacs/src/regex.c,v
Date: Tue, 28 Nov 2006 01:10:09 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Kenichi Handa <handa>   06/11/28 01:10:09

Index: regex.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/regex.c,v
retrieving revision 1.216
retrieving revision 1.217
diff -u -b -r1.216 -r1.217
--- regex.c     24 Nov 2006 19:36:39 -0000      1.216
+++ regex.c     28 Nov 2006 01:10:09 -0000      1.217
@@ -2939,7 +2939,8 @@
                         for (ch = 0; ch < 1 << BYTEWIDTH; ++ch)
                          {
                            int translated = TRANSLATE (ch);
-                           if (re_iswctype (btowc (ch), cc))
+                           if (translate < 1 << BYTEWIDTH
+                               && re_iswctype (btowc (ch), cc))
                              SET_LIST_BIT (translated);
                          }
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]