summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/ptexdir
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/ptexdir')
-rw-r--r--Build/source/texk/web2c/ptexdir/ChangeLog4
-rw-r--r--Build/source/texk/web2c/ptexdir/am/ptex.am2
-rw-r--r--Build/source/texk/web2c/ptexdir/ptex-base.ch2
3 files changed, 6 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/ptexdir/ChangeLog b/Build/source/texk/web2c/ptexdir/ChangeLog
index 406b995c873..f2f03424c15 100644
--- a/Build/source/texk/web2c/ptexdir/ChangeLog
+++ b/Build/source/texk/web2c/ptexdir/ChangeLog
@@ -1,3 +1,7 @@
+2011-01-14 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * am/ptex.am (ptrip-clean): Use TRIPTRAP_CLEAN.
+
2011-01-13 Peter Breitenlohner <peb@mppmu.mpg.de>
* ptex-base.ch: Reformulate if_*_code definitions, for e-pTeX.
diff --git a/Build/source/texk/web2c/ptexdir/am/ptex.am b/Build/source/texk/web2c/ptexdir/am/ptex.am
index 3119f7a3999..df62eeb7c8b 100644
--- a/Build/source/texk/web2c/ptexdir/am/ptex.am
+++ b/Build/source/texk/web2c/ptexdir/am/ptex.am
@@ -186,6 +186,7 @@ if PTEX
TESTS += $(ptex_tests)
check_PROGRAMS += dvitype pltotf tftopl
TRIPTRAP += ptrip.diffs
+TRIPTRAP_CLEAN += ptrip-clean
endif PTEX
## Test data and results
@@ -214,7 +215,6 @@ DISTCLEANFILES += tests/x*min10.*
## ptexdir/ptrip.test
EXTRA_DIST += ptexdir/ptrip.diffs
.PHONY: ptrip-clean
-clean-local:: ptrip-clean
ptrip-clean:
rm -f trip.tfm trip.pl trip.tex trip.fmt ptripin.fot ptripin.log
rm -f ptrip.fot ptrip.log trip.log trip.dvi trip.typ
diff --git a/Build/source/texk/web2c/ptexdir/ptex-base.ch b/Build/source/texk/web2c/ptexdir/ptex-base.ch
index f5653d61da5..b648dbbbe6c 100644
--- a/Build/source/texk/web2c/ptexdir/ptex-base.ch
+++ b/Build/source/texk/web2c/ptexdir/ptex-base.ch
@@ -1953,7 +1953,7 @@ if box(cur_val)=null then cur_val:=0 @+else cur_val:=mem[box(cur_val)+m].sc;
@y
if box(cur_val)=null then cur_val:=0
else
- begin q:=box(cur_val);
+ begin q:=box(cur_val);
while (q<>null)and(box_dir(q)<>abs(direction)) do q:=link(q);
if q=null then
begin q:=new_dir_node(box(cur_val),abs(direction));