commit 75347226678394e8316d3e38ea64f44524e4f089 from: wkj date: Mon May 17 02:22:03 2004 UTC Tweak mpm pending C++ support in the mkfiles. commit - 4418401f335e22c27206c02a9d9f8c6c51ab1612 commit + 75347226678394e8316d3e38ea64f44524e4f089 blob - 48f900d689885e56d5c3d319b274c146272ea905 blob + c6bae4beb90f235898d3ebbf06198b97fb4ff787 --- src/cmd/mpm/mkfile +++ 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 blob - 988dff2f28160a5e6e39481faaab2334d9defbf9 blob + 829cb8c46d46e73106fd8974c25db0047a1c8249 --- src/cmd/mpm/range.cc +++ 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; blob - 7ce0146614e50263068ba585f10e1968ce4c2e3d blob + 5fcea29fe8442aa4762386c3b728d0f97ada98f7 --- src/cmd/mpm/tmac.pm +++ 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