summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/tiedir
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2014-02-12 08:50:58 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2014-02-12 08:50:58 +0000
commit50f43a1ab6f142722d1a8f0ec5cecd1c1eeb5d93 (patch)
tree40842fa2c7b02f7d6f18a9d35a90a94cb9f4d72f /Build/source/texk/web2c/tiedir
parent3b2979a19f230a6c8c99afcadea7163dcec712a0 (diff)
web2c: ctangle, ctie, and tie: Handle input files with CRLF
git-svn-id: svn://tug.org/texlive/trunk@32948 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/tiedir')
-rw-r--r--Build/source/texk/web2c/tiedir/ChangeLog4
-rw-r--r--Build/source/texk/web2c/tiedir/tie-w2c.ch14
2 files changed, 17 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/tiedir/ChangeLog b/Build/source/texk/web2c/tiedir/ChangeLog
index 780fb8771e7..8bc990c1af7 100644
--- a/Build/source/texk/web2c/tiedir/ChangeLog
+++ b/Build/source/texk/web2c/tiedir/ChangeLog
@@ -1,3 +1,7 @@
+2014-02-12 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * tie-w2c.ch: Handle input lines with CRLF.
+
2012-05-18 Peter Breitenlohner <peb@mppmu.mpg.de>
* tie-w2c.ch: Use binary mode for output files.
diff --git a/Build/source/texk/web2c/tiedir/tie-w2c.ch b/Build/source/texk/web2c/tiedir/tie-w2c.ch
index df384da9669..37d5bd7b21d 100644
--- a/Build/source/texk/web2c/tiedir/tie-w2c.ch
+++ b/Build/source/texk/web2c/tiedir/tie-w2c.ch
@@ -38,7 +38,7 @@ typedef char* string;
#define usage tieusage
@z
-@x
+@x l.617
void get_line(i)
file_index i;
@y
@@ -46,6 +46,18 @@ static void
get_line (file_index i)
@z
+@x l.650
+replacement part of a change file, or in an incomplerte check if the
+@y
+replacement part of a change file, or in an incomplete check if the
+@z
+
+@x l.667
+ if (c!=@' ' && c!=tab_mark)
+@y
+ if (c!=@' ' && c!=tab_mark && c!=@'\r')
+@z
+
@x l.745
void err_loc(i) /* prints location of error */
int i;