diff options
author | Jonathan Kew <jfkthame@googlemail.com> | 2008-08-01 13:54:24 +0000 |
---|---|---|
committer | Jonathan Kew <jfkthame@googlemail.com> | 2008-08-01 13:54:24 +0000 |
commit | ba02f308547ad235253f8f4e80f0598ab066ee33 (patch) | |
tree | 8e44819d8d86997c284d12027649cda6c56e98f6 /Build/source/texk/web2c/xetexdir | |
parent | 81de3e6898432e4c7ba92e04b653e2fa9d059d42 (diff) |
minor xetex bugfix
git-svn-id: svn://tug.org/texlive/trunk@9980 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/xetexdir')
-rw-r--r-- | Build/source/texk/web2c/xetexdir/XeTeX_ext.c | 4 | ||||
-rw-r--r-- | Build/source/texk/web2c/xetexdir/xetex.ch | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Build/source/texk/web2c/xetexdir/XeTeX_ext.c b/Build/source/texk/web2c/xetexdir/XeTeX_ext.c index 7efebad0506..da3bf2f1e64 100644 --- a/Build/source/texk/web2c/xetexdir/XeTeX_ext.c +++ b/Build/source/texk/web2c/xetexdir/XeTeX_ext.c @@ -374,7 +374,7 @@ static UInt32 *utf32Buf = NULL; while (bytesRead < bufsize && (i = getc(f->f)) != EOF && i != '\n' && i != '\r') byteBuffer[bytesRead++] = i; - if (i == EOF && errno != EINTR && last == first) + if (i == EOF && errno != EINTR && bytesRead == 0) return false; if (i != EOF && i != '\n' && i != '\r') @@ -432,7 +432,7 @@ static UInt32 *utf32Buf = NULL; while (tmpLen < bufsize && (i = get_uni_c(f)) != EOF && i != '\n' && i != '\r') utf32Buf[tmpLen++] = i; - if (i == EOF && errno != EINTR && last == first) + if (i == EOF && errno != EINTR && tmpLen == 0) return false; /* We didn't get the whole line because our buffer was too small. */ diff --git a/Build/source/texk/web2c/xetexdir/xetex.ch b/Build/source/texk/web2c/xetexdir/xetex.ch index 370023c96ce..d4b417e40e2 100644 --- a/Build/source/texk/web2c/xetexdir/xetex.ch +++ b/Build/source/texk/web2c/xetexdir/xetex.ch @@ -65,7 +65,7 @@ authorization from SIL International. @d XeTeX_version=0 @d XeTeX_revision==".999" -@d XeTeX_version_string=='-0.999.3' {current \XeTeX\ version} +@d XeTeX_version_string=='-0.999.4' {current \XeTeX\ version} @z @x |