tTweak mpm pending C++ support in the mkfiles. - plan9port - [fork] Plan 9 from user space (HTM) git clone git://src.adamsgaard.dk/plan9port (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit 75347226678394e8316d3e38ea64f44524e4f089 (DIR) parent 4418401f335e22c27206c02a9d9f8c6c51ab1612 (HTM) Author: wkj <devnull@localhost> Date: Mon, 17 May 2004 02:22:03 +0000 Tweak mpm pending C++ support in the mkfiles. Diffstat: M src/cmd/mpm/mkfile | 5 +---- M src/cmd/mpm/range.cc | 2 +- M src/cmd/mpm/tmac.pm | 2 +- 3 files changed, 3 insertions(+), 6 deletions(-) --- (DIR) diff --git a/src/cmd/mpm/mkfile b/src/cmd/mpm/mkfile t@@ -1,6 +1,6 @@ <$PLAN9/src/mkhdr -TARG=aux/pm +TARG=auxpm OFILES=misc.$O\ slug.$O\ range.$O\ t@@ -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 (DIR) diff --git a/src/cmd/mpm/range.cc b/src/cmd/mpm/range.cc t@@ -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; (DIR) diff --git a/src/cmd/mpm/tmac.pm b/src/cmd/mpm/tmac.pm t@@ -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