summaryrefslogtreecommitdiff
path: root/Build/source/texk/bibtex-x/bibtex-4.c
diff options
context:
space:
mode:
authorHironobu Yamashita <h.y.acetaminophen@gmail.com>2019-03-04 11:35:09 +0000
committerHironobu Yamashita <h.y.acetaminophen@gmail.com>2019-03-04 11:35:09 +0000
commit44a9f4188160b309de307a135225022554b1f419 (patch)
treeaf3f3672c941d4e9f5d9d49829b3fad6ce94f3cb /Build/source/texk/bibtex-x/bibtex-4.c
parent3f9227ee5a00e53d844ca4289068f11e19c400a2 (diff)
bibtexu: default to 8bit mode; no longer require csf files
git-svn-id: svn://tug.org/texlive/trunk@50223 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/bibtex-x/bibtex-4.c')
-rw-r--r--Build/source/texk/bibtex-x/bibtex-4.c18
1 files changed, 14 insertions, 4 deletions
diff --git a/Build/source/texk/bibtex-x/bibtex-4.c b/Build/source/texk/bibtex-x/bibtex-4.c
index 95f30801fca..3a41e44911f 100644
--- a/Build/source/texk/bibtex-x/bibtex-4.c
+++ b/Build/source/texk/bibtex-x/bibtex-4.c
@@ -1825,10 +1825,20 @@ When we processe the character UTF-8, the length has been changed. This focntion
quick_sort. 23/sep/2009
*/
DO_UTF8(ex_buf[ex_buf_ptr],
- ex_buf[ex_buf_xptr] = ex_buf[ex_buf_ptr++],
- ex_buf[ex_buf_xptr] = ex_buf[ex_buf_ptr]; ex_buf_xptr += 2,
- ex_buf[ex_buf_xptr] = ex_buf[ex_buf_ptr]; ex_buf_xptr += 3,
- ex_buf[ex_buf_xptr] = ex_buf[ex_buf_ptr]; ex_buf_xptr += 4);
+ ex_buf[ex_buf_xptr] = ex_buf[ex_buf_ptr];
+ ex_buf_xptr += 1,
+ ex_buf[ex_buf_xptr] = ex_buf[ex_buf_ptr];
+ ex_buf[ex_buf_xptr+1] = ex_buf[ex_buf_ptr+1];
+ ex_buf_xptr += 2; ex_buf_ptr += 1,
+ ex_buf[ex_buf_xptr] = ex_buf[ex_buf_ptr];
+ ex_buf[ex_buf_xptr+1] = ex_buf[ex_buf_ptr+1];
+ ex_buf[ex_buf_xptr+2] = ex_buf[ex_buf_ptr+2];
+ ex_buf_xptr += 3; ex_buf_ptr += 2,
+ ex_buf[ex_buf_xptr] = ex_buf[ex_buf_ptr];
+ ex_buf[ex_buf_xptr+1] = ex_buf[ex_buf_ptr+1];
+ ex_buf[ex_buf_xptr+2] = ex_buf[ex_buf_ptr+2];
+ ex_buf[ex_buf_xptr+3] = ex_buf[ex_buf_ptr+3];
+ ex_buf_xptr += 4; ex_buf_ptr += 3);
#else
ex_buf[ex_buf_xptr] = ex_buf[ex_buf_ptr];
INCR (ex_buf_xptr);