From 33ae4040ea242ff5cddb64da2e0294cbb688ec94 Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Tue, 14 Feb 2012 12:38:08 +0000 Subject: 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 --- Build/source/texk/bibtexu/ChangeLog | 4 ++++ Build/source/texk/bibtexu/bibtex.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'Build/source/texk/bibtexu') diff --git a/Build/source/texk/bibtexu/ChangeLog b/Build/source/texk/bibtexu/ChangeLog index 973198d78da..65252938e0e 100644 --- a/Build/source/texk/bibtexu/ChangeLog +++ b/Build/source/texk/bibtexu/ChangeLog @@ -1,3 +1,7 @@ +2012-02-14 Peter Breitenlohner + + * bibtex.c (eoln): Accept both CR and LF as end-of-line. + 2011-12-06 Peter Breitenlohner * Makefile.am: Replace ${prefix}/texmf => $(datarootdir)/texmf. diff --git a/Build/source/texk/bibtexu/bibtex.c b/Build/source/texk/bibtexu/bibtex.c index 7fb13f7b358..f540f7aa77e 100644 --- a/Build/source/texk/bibtexu/bibtex.c +++ b/Build/source/texk/bibtexu/bibtex.c @@ -199,7 +199,7 @@ BEGIN BEGIN (void) ungetc (c, file_pointer); END - if (c == '\n' || c == EOF) + if (c == '\n' || c == '\r' || c == EOF) BEGIN return (TRUE); END -- cgit v1.2.3