aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert2011-07-18 23:07:07 -0700
committerPaul Eggert2011-07-18 23:07:07 -0700
commitd3411f89d34bd1009cae738f917abf477be09882 (patch)
tree1faf0e2f21f2ea5e19a33eb5ae1c4ae633a1f1ea /src/ChangeLog
parente097a6fa863b26952a476e71a786fa7b2460277b (diff)
downloademacs-d3411f89d34bd1009cae738f917abf477be09882.tar.gz
emacs-d3411f89d34bd1009cae738f917abf477be09882.zip
Use ptrdiff_t for hash table indexes.
* category.c (hash_get_category_set): * ccl.c (ccl_driver): * charset.h (struct charset.hash_index, CHECK_CHARSET_GET_ID): * coding.c (coding_system_charset_list, detect_coding_system): * coding.h (struct coding_system.id): * composite.c (get_composition_id, gstring_lookup_cache): * fns.c (hash_lookup, hash_put, Fgethash, Fputhash): * image.c (xpm_get_color_table_h): * lisp.h (hash_lookup, hash_put): * minibuf.c (Ftest_completion): Use ptrdiff_t for hash table indexes, not int (which is too narrow, on 64-bit hosts) or EMACS_INT (which is too wide, on 32-bit --with-wide-int hosts).
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 4a9e03d5da0..cf75596f422 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,20 @@
12011-07-19 Paul Eggert <eggert@cs.ucla.edu> 12011-07-19 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 Use ptrdiff_t for hash table indexes.
4 * category.c (hash_get_category_set):
5 * ccl.c (ccl_driver):
6 * charset.h (struct charset.hash_index, CHECK_CHARSET_GET_ID):
7 * coding.c (coding_system_charset_list, detect_coding_system):
8 * coding.h (struct coding_system.id):
9 * composite.c (get_composition_id, gstring_lookup_cache):
10 * fns.c (hash_lookup, hash_put, Fgethash, Fputhash):
11 * image.c (xpm_get_color_table_h):
12 * lisp.h (hash_lookup, hash_put):
13 * minibuf.c (Ftest_completion):
14 Use ptrdiff_t for hash table indexes, not int (which is too
15 narrow, on 64-bit hosts) or EMACS_INT (which is too wide, on
16 32-bit --with-wide-int hosts).
17
3 * charset.c (Fdefine_charset_internal): Check for integer overflow. 18 * charset.c (Fdefine_charset_internal): Check for integer overflow.
4 Add a FIXME comment about memory leaks. 19 Add a FIXME comment about memory leaks.
5 (syms_of_charset): Don't assume xmalloc returns. 20 (syms_of_charset): Don't assume xmalloc returns.