summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/lib/eofeoln.c
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2012-02-14 12:38:08 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2012-02-14 12:38:08 +0000
commit33ae4040ea242ff5cddb64da2e0294cbb688ec94 (patch)
tree24a6b41ba7cb39e5667259647269b7315e417471 /Build/source/texk/web2c/lib/eofeoln.c
parent12930034e8c622f79fd5e2101bfb4f0b51e100fa (diff)
bibtex8, bibtexu: Accept both CR and LF as end-of-line
git-svn-id: svn://tug.org/texlive/trunk@25393 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/lib/eofeoln.c')
-rw-r--r--Build/source/texk/web2c/lib/eofeoln.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/lib/eofeoln.c b/Build/source/texk/web2c/lib/eofeoln.c
index 457bbfca41c..1930df9051a 100644
--- a/Build/source/texk/web2c/lib/eofeoln.c
+++ b/Build/source/texk/web2c/lib/eofeoln.c
@@ -12,8 +12,8 @@ eof (FILE *file)
{
register int c;
- /* If FILE doesn't exist, return false. This happens when, for
- example, when a user does `mft foo.mf' -- there's no change file,
+ /* If FILE doesn't exist, return true. This happens, for example,
+ when a user does `mft foo.mf' -- there's no change file,
so we never open it, so we end up calling this with a null pointer. */
if (!file)
return true;