]> git.eshelyaron.com Git - emacs.git/commit
Port recent character.h changes to --with-wide-int
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 17 Apr 2020 21:09:01 +0000 (14:09 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 17 Apr 2020 21:11:30 +0000 (14:11 -0700)
commit2cb7e8669c3cdd0f7f0687e01810a3160d6b5c5b
tree21fd3ca5914224a2478d7c528e68d0ca64ceddc1
parentfadfde5fdf2fd8fc3b3b4ba430a954a89d0cd1fe
Port recent character.h changes to --with-wide-int

* src/fns.c (mapcar1):
* src/keymap.c (Fkey_description):
* src/syntax.c (scan_lists):
Prefer ptrdiff_t to EMACS_INT where either will do; this fixes
newly-introduced type errors on --with-wide-int platforms where
ptrdiff_t is narrower than EMACS_INT.
* src/keymap.c (Fkey_description): Rework for clarity; remove goto.
* src/syntax.c (scan_words, Fforward_comment, scan_lists)):
Fix unlikely integer overflow problems that can occur on
--with-wide-int platforms, and that were caught by the recent
character.h changes.
src/fns.c
src/keymap.c
src/syntax.c