Bugs in yahp2ps

Federico Heinz federico at actisb.UUCP
Sat Jan 28 01:04:45 AEST 1989



  Since I released it, some people have written telling me of errors in
yahp2ps. Thanks to their help, I could remove three bugs from the
program.  If you want to fix them, you'll have to do following changes:

In io.c:

  in the function getNumber(), place the line

         negative = False;

   before the line that reads

         if (LookAhead == '+')

   and in the function writeNumber(), the line

         if (n = Zero)

   should read (of course)

         if (n == Zero)


In mchinery.c:

    in the function doShadeRectangle, the line

         setCurrentPoint(PenPosition[X],PenPosition[Y]);

    should read

         setCurrentPoint(plotterXCoord(PenPosition[X]),
                         plotterYCoord(PenPosition[Y]));


  I promise I'll learn how to use diff and patch for the next time :-)



More information about the Comp.sources.bugs mailing list