diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2015-11-17 22:53:42 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2015-11-17 22:53:42 +0000 |
commit | 396373bef6efae88347fecb1c0a86e3257b594ff (patch) | |
tree | 38b2ef4842f29d528d8eebb1a21676a59f7f0641 | |
parent | 441184c35307328cada5a81c27b34312eeac50cb (diff) |
web2c/luatexdir: Sync with the upstream.
git-svn-id: svn://tug.org/texlive/trunk@38882 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Build/source/texk/web2c/luatexdir/tex/extensions.w | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/luatexdir/tex/extensions.w b/Build/source/texk/web2c/luatexdir/tex/extensions.w index 587b0ea85c3..e2df4f23066 100644 --- a/Build/source/texk/web2c/luatexdir/tex/extensions.w +++ b/Build/source/texk/web2c/luatexdir/tex/extensions.w @@ -398,8 +398,15 @@ static void new_write_whatsit(int w, int check) scan_int(); if (cur_val < 0) cur_val = term_only; +#ifdef _MSC_VER + else if (cur_val > last_file_selector) { +/* In the original one, 16 or 17 becomes 143 = 127 + 16, so I don't + include (cur_val == write_target_direct) || (cur_val == write_target_special). + ak: */ +#else else if ((cur_val > last_file_selector) || (cur_val == write_target_direct) || (cur_val == write_target_special)) { /* hh: i need to check what 17 is supposed to do. so let's kind of reserve it */ +#endif cur_val = write_target_overflow; } } |