]> git.eshelyaron.com Git - emacs.git/commit
Avoid ungetc when loading charset maps from files
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 8 Jul 2017 01:12:16 +0000 (18:12 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 8 Jul 2017 01:54:42 +0000 (18:54 -0700)
commit1628305811247bd652099dad92f6498fc244d8dc
tree3cd6708a814fbf9684574704ee088edf4b659952
parentd2832063c3c5490c931da2f395b8b56116b0192b
Avoid ungetc when loading charset maps from files

* src/charset.c (read_hex): New args LOOKAHEAD and TERMINATOR,
replacing the old EOF.  All callers changed.  This avoids the
need to call ungetc.
src/charset.c