Mercurial > emacs
annotate etc/nxml/0FFF0-0FFFF.el @ 103359:eb941fcd33b4
x-load-color-file: avoid array bounds error
x-load-color-file expects each line of input to be of the form
"R G B name". But if "name" is missing, it would read name[-1],
and if that value is '\n', zero it.
* xfaces.c (Fx_load_color_file): Handle missing color name.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Tue, 09 Jun 2009 05:57:35 +0000 |
parents | d3851627d1f0 |
children | ef719132ddfa |
rev | line source |
---|---|
86698
d3851627d1f0
Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
1 (nxml-define-char-name-set 'specials |
d3851627d1f0
Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
2 '(("INTERLINEAR ANNOTATION ANCHOR" #xFFF9) |
d3851627d1f0
Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
3 ("INTERLINEAR ANNOTATION SEPARATOR" #xFFFA) |
d3851627d1f0
Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
4 ("INTERLINEAR ANNOTATION TERMINATOR" #xFFFB) |
d3851627d1f0
Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
5 ("OBJECT REPLACEMENT CHARACTER" #xFFFC) |
d3851627d1f0
Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
6 ("REPLACEMENT CHARACTER" #xFFFD) |
d3851627d1f0
Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
7 )) |
d3851627d1f0
Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
8 |
d3851627d1f0
Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
9 ;; arch-tag: 0bef6e81-4857-4032-a18a-18784233cc81 |