diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-02-14 12:38:08 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-02-14 12:38:08 +0000 |
commit | 33ae4040ea242ff5cddb64da2e0294cbb688ec94 (patch) | |
tree | 24a6b41ba7cb39e5667259647269b7315e417471 /Build/source/texk/bibtexu | |
parent | 12930034e8c622f79fd5e2101bfb4f0b51e100fa (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/bibtexu')
-rw-r--r-- | Build/source/texk/bibtexu/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/bibtexu/bibtex.c | 2 |
2 files changed, 5 insertions, 1 deletions
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 <peb@mppmu.mpg.de> + + * bibtex.c (eoln): Accept both CR and LF as end-of-line. + 2011-12-06 Peter Breitenlohner <peb@mppmu.mpg.de> * 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 |