]> git.eshelyaron.com Git - emacs.git/commit
Use getc_unlocked.
authorKen Raeburn <raeburn@raeburn.org>
Thu, 27 Oct 2016 04:50:07 +0000 (00:50 -0400)
committerKen Raeburn <raeburn@raeburn.org>
Thu, 22 Jun 2017 02:34:33 +0000 (22:34 -0400)
commitefe200c10da02db68c6eeadc3cd82a8cc3108c96
tree9d194249f93b74a18eef167efad5a5d9b1f06ce8
parent6af67b4a8842fd3b949fa5bfb68811f62a521ae2
Use getc_unlocked.

* configure.ac: Check for getc_unlocked.
* src/charset.c (read_hex, load_charset_map_from_file): Use
getc_unlocked instead of getc.
(getc_unlocked) [!HAVE_GETC_UNLOCKED]: Fall back to getc.
* src/lread.c (readbyte_from_file, Fget_file_char, read1,
getc_unlocked): Likewise.
configure.ac
src/charset.c
src/lread.c