]> git.eshelyaron.com Git - emacs.git/commit
Use ASCII tests for character types.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 16 Aug 2012 21:58:44 +0000 (14:58 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 16 Aug 2012 21:58:44 +0000 (14:58 -0700)
commit620f13b0612810324592ab2d2b4e5a5dab27f981
tree844d21f0c90ede1887eb699058398f5f9a81f069
parent85c2386bbe5d7957cf5750b6f96b2868f83eedf4
Use ASCII tests for character types.

* admin/merge-gnulib (GNULIB_MODULES): Add c-ctype.
* lwlib/lwlib-Xaw.c, lwlib/lwlib.c, lwlib/xlwmenu.c:
Don't include <ctype.h>; no longer needed.
* lwlib/lwlib-Xaw.c (openFont):
* lwlib/xlwmenu.c (openXftFont): Test just for ASCII digits.
* src/category.c, src/dispnew.c, src/doprnt.c, src/editfns.c, src/syntax.c
* src/term.c, src/xfns.c, src/xterm.c:
Don't include <ctype.h>; was not needed.
* src/charset.c, src/doc.c, src/fileio.c, src/font.c, src/frame.c:
* src/gtkutil.c, src/image.c, src/sysdep.c, src/xfaces.c:
Include <c-ctype.h> instead of <ctype.h>.
* src/nsterm.m: Include <c-ctype.h>.
* src/charset.c (read_hex):
* src/doc.c (Fsnarf_documentation):
* src/fileio.c (IS_DRIVE) [WINDOWSNT]:
(DRIVE_LETTER) [DOS_NT]:
(Ffile_name_directory, Fexpand_file_name)
(Fsubstitute_in_file_name):
* src/font.c (font_parse_xlfd, font_parse_fcname):
* src/frame.c (x_set_font_backend):
* src/gtkutil.c (xg_get_font):
* src/image.c (xbm_scan, xpm_scan, pbm_scan_number):
* src/nsimage.m (hexchar):
* src/nsterm.m (ns_xlfd_to_fontname):
* src/sysdep.c (system_process_attributes):
* src/xfaces.c (hash_string_case_insensitive):
Use C-locale tests instead of locale-specific tests for character
types, since we want the ASCII interpretation here, not the
interpretation suitable for whatever happens to be the current locale.
26 files changed:
admin/ChangeLog
admin/merge-gnulib
lwlib/ChangeLog
lwlib/lwlib-Xaw.c
lwlib/lwlib.c
lwlib/xlwmenu.c
src/ChangeLog
src/category.c
src/charset.c
src/dispnew.c
src/doc.c
src/doprnt.c
src/editfns.c
src/fileio.c
src/font.c
src/frame.c
src/gtkutil.c
src/image.c
src/nsimage.m
src/nsterm.m
src/syntax.c
src/sysdep.c
src/term.c
src/xfaces.c
src/xfns.c
src/xterm.c