summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Build/source/texk/web2c/pdftexdir/ChangeLog11
-rw-r--r--Build/source/texk/web2c/pdftexdir/pdftex.web5
2 files changed, 14 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/pdftexdir/ChangeLog b/Build/source/texk/web2c/pdftexdir/ChangeLog
index 44cb5b258ff..bbac2aee29e 100644
--- a/Build/source/texk/web2c/pdftexdir/ChangeLog
+++ b/Build/source/texk/web2c/pdftexdir/ChangeLog
@@ -1,3 +1,14 @@
+2017-12-16 Hironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
+
+ * pdftex.web (compare_strings): Fix \pdfstrcmp error message
+ "! File ended while ..." to report control sequence correctly.
+ http://tug.org/pipermail/tex-k/2017-December/002838.html
+
+2017-12-15 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
+
+ * tounicode.c (deftounicode): check that value is in range [0,10FFFF].
+ Original report from Ross Moore, ntg-pdftex 30 May 2017 06:03:04.
+
2017-12-02 Karl Berry <karl@tug.org>
* am/pdftex.am (pdftex.pdf, pdftex.tex): new convenience targets
diff --git a/Build/source/texk/web2c/pdftexdir/pdftex.web b/Build/source/texk/web2c/pdftexdir/pdftex.web
index 52f42f986b5..c7552e264bf 100644
--- a/Build/source/texk/web2c/pdftexdir/pdftex.web
+++ b/Build/source/texk/web2c/pdftexdir/pdftex.web
@@ -33807,11 +33807,12 @@ procedure compare_strings; {to implement \.{\\pdfstrcmp}}
label done;
var s1, s2: str_number;
i1, i2, j1, j2: pool_pointer;
+ save_cur_cs: pointer;
begin
- call_func(scan_toks(false, true));
+ save_cur_cs:=cur_cs; call_func(scan_toks(false, true));
s1 := tokens_to_string(def_ref);
delete_token_ref(def_ref);
- call_func(scan_toks(false, true));
+ cur_cs:=save_cur_cs; call_func(scan_toks(false, true));
s2 := tokens_to_string(def_ref);
delete_token_ref(def_ref);
i1 := str_start[s1];