summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Build/source/texk/web2c/lib/ChangeLog1
-rw-r--r--Build/source/texk/web2c/lib/texmfmp.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/lib/ChangeLog b/Build/source/texk/web2c/lib/ChangeLog
index bb0e3b96a6d..a6e44c1548f 100644
--- a/Build/source/texk/web2c/lib/ChangeLog
+++ b/Build/source/texk/web2c/lib/ChangeLog
@@ -2,6 +2,7 @@
* texmfmp.c (maketexstring) [!MP]: only define this fn if !MP,
since MetaPost has its own in mpdir/utils.c.
+ (input_line): initialize i = EOF. From Taco.
2008-01-29 Peter Breitenlohner <peb@mppmu.mpg.de>
diff --git a/Build/source/texk/web2c/lib/texmfmp.c b/Build/source/texk/web2c/lib/texmfmp.c
index cefab57cbd3..2fdec76a9d0 100644
--- a/Build/source/texk/web2c/lib/texmfmp.c
+++ b/Build/source/texk/web2c/lib/texmfmp.c
@@ -1589,7 +1589,7 @@ getrandomseed()
boolean
input_line P1C(FILE *, f)
{
- int i;
+ int i = EOF;
/* Recognize either LF or CR as a line terminator. */
last = first;