From 75347226678394e8316d3e38ea64f44524e4f089 Mon Sep 17 00:00:00 2001 From: wkj Date: Mon, 17 May 2004 02:22:03 +0000 Subject: Tweak mpm pending C++ support in the mkfiles. --- src/cmd/mpm/mkfile | 5 +---- src/cmd/mpm/range.cc | 2 +- src/cmd/mpm/tmac.pm | 2 +- 3 files changed, 3 insertions(+), 6 deletions(-) (limited to 'src/cmd/mpm') diff --git a/src/cmd/mpm/mkfile b/src/cmd/mpm/mkfile index 48f900d6..c6bae4be 100644 --- a/src/cmd/mpm/mkfile +++ b/src/cmd/mpm/mkfile @@ -1,6 +1,6 @@ <$PLAN9/src/mkhdr -TARG=aux/pm +TARG=auxpm OFILES=misc.$O\ slug.$O\ range.$O\ @@ -9,10 +9,7 @@ OFILES=misc.$O\ HFILES=misc.h\ -BIN=/$objtype/bin <$PLAN9/src/mkone -CC=c++/$CC -LD=c++/$LD CFLAGS= slug.$O: slug.h diff --git a/src/cmd/mpm/range.cc b/src/cmd/mpm/range.cc index 988dff2f..829cb8c4 100644 --- a/src/cmd/mpm/range.cc +++ b/src/cmd/mpm/range.cc @@ -304,7 +304,7 @@ static void markbreak(slug *p) { // Mark impermissible breakpoints in BS's. // The parm field of a VBOX is >0 if we shouldn't break after it. - int parm; // how many lines must stay on page + int parm = 0; // how many lines must stay on page int goahead = 1; // true until we see the next BS int nowmark = 0; // true when we should be marking int n = 0; diff --git a/src/cmd/mpm/tmac.pm b/src/cmd/mpm/tmac.pm index 7ce01466..5fcea29f 100644 --- a/src/cmd/mpm/tmac.pm +++ b/src/cmd/mpm/tmac.pm @@ -1,5 +1,5 @@ .\" 10/22/92 activate next line before installing -.pi /$objtype/bin/aux/pm +.pi #9/bin/auxpm . . \" IZ - initialization .de IZ -- cgit v1.2.3