diff options
author | Karl Berry <karl@freefriends.org> | 2020-08-28 20:54:09 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-08-28 20:54:09 +0000 |
commit | fe1debbd60349a10e446fc4b039edd0d851cb552 (patch) | |
tree | 8db66d999fc051ff4c11145ba952326556c63cc6 /Build/source/texk/web2c/lib/ChangeLog | |
parent | 55137b192a5c61251a90cdc55ac41554d75b3967 (diff) |
ignore EOF when EINTR, but not otherwise
git-svn-id: svn://tug.org/texlive/trunk@56202 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/lib/ChangeLog')
-rw-r--r-- | Build/source/texk/web2c/lib/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/lib/ChangeLog b/Build/source/texk/web2c/lib/ChangeLog index 4d0a9dd6eb2..221273b2673 100644 --- a/Build/source/texk/web2c/lib/ChangeLog +++ b/Build/source/texk/web2c/lib/ChangeLog @@ -1,3 +1,11 @@ +2020-08-28 Karl Berry <karl@tug.org> + + * texmfmp.c (input_line): always clear errno before calling getc, + else an EINTR errno might persist, masking a real EOF. On the other + hand, loop as long as we have EOF && EINTR so we don't prematurely + stop reading characters. + https://tug.org/pipermail/tex-k/2020-August/003297.html + 2020-07-18 Karl Berry <karl@freefriends.org> * texmfmp.c: reformat so that all function return types and names |