Mercurial > hg > xemacs-beta
annotate src/s/win32-common.h @ 4897:91a023144e72
fix longstanding search bug involving searching for Control-1 chars
-------------------- ChangeLog entries follow: --------------------
src/ChangeLog addition:
2010-01-29 Ben Wing <ben@xemacs.org>
* search.c (boyer_moore): Fix longstanding bug involving
searching for Control-1 chars; code was trying to directly
extract the last byte in the textual representation of a char
from an Ichar (and doing it in a buggy fashion) rather than
just converting the Ichar to text and looking at the last byte.
tests/ChangeLog addition:
2010-01-29 Ben Wing <ben@xemacs.org>
* automated/search-tests.el:
New file.
* automated/search-tests.el:
* automated/case-tests.el:
* automated/case-tests.el (pristine-case-table): Removed.
* automated/case-tests.el (uni-mappings):
* automated/lisp-tests.el:
* automated/regexp-tests.el:
Extract some search-related code from case-tests and regexp-tests
and move to search-tests. Move some regexp-related code from
lisp-tests to regexp-tests.
Write a comment trying to express the proper division of labor
between case-tests, search-tests and regexp-tests.
Add a new test for the Control-1 search bug.
Fix a buggy test in the Unicode torture-test section of case-tests.el.
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Fri, 29 Jan 2010 20:57:42 -0600 |
parents | ecf1ebac70d8 |
children | cdca98f2d36f |
rev | line source |
---|---|
771 | 1 /* Common system description file for cygwin32/windowsnt/mingw32. |
2 Copyright (C) 1993, 1994, 1995, 1999 Free Software Foundation, Inc. | |
872 | 3 Copyright (C) 2001, 2002 Ben Wing. |
771 | 4 |
5 This file is part of XEmacs. | |
6 | |
7 XEmacs is free software; you can redistribute it and/or modify | |
8 it under the terms of the GNU General Public License as published by | |
9 the Free Software Foundation; either version 2, or (at your option) | |
10 any later version. | |
11 | |
12 XEmacs is distributed in the hope that it will be useful, | |
13 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 GNU General Public License for more details. | |
16 | |
17 You should have received a copy of the GNU General Public License | |
18 along with XEmacs; see the file COPYING. If not, write to | |
19 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | |
20 Boston, MA 02111-1307, USA. */ | |
21 | |
2367 | 22 /* See win32.c for info about the different Windows files in XEmacs. */ |
23 | |
771 | 24 /* Do not define LOAD_AVE_TYPE or LOAD_AVE_CVT |
25 since there is no load average available. */ | |
26 | |
27 #define NO_MATHERR | |
28 | |
29 #define EXEC_SUFFIXES ".exe:.com:.bat:.cmd:" | |
872 | 30 |
31 /* Define an identifier for all MS Windows systems -- Cygwin, native, MinGW */ | |
32 #define WIN32_ANY |