[comp.sources.bugs] Official patch #6 for mp v2.0, please apply it.

richb@sunchat.oz (Rich Burridge) (05/17/89)

It makes the following change:

The number of lines printed per page was incorrect, when a line contained
more characters that the line length (default 80).

Feed this file to patch, then recompile.

------CUT HERE------CUT HERE------
*** original/mp.c	Tue May  9 11:51:04 1989
--- mp.c	Wed May 17 12:07:26 1989
***************
*** 1,5 ****
  #ifndef lint
! static char sccsid[] = "@(#)mp.c 1.8 89/05/09" ;
  #endif
  
  /*  Takes a mail file, a news article or an ordinary file
--- 1,5 ----
  #ifndef lint
! static char sccsid[] = "@(#)mp.c 1.9 89/05/17" ;
  #endif
  
  /*  Takes a mail file, a news article or an ordinary file
***************
*** 38,44 ****
  #include <time.h>
  #include <pwd.h>
  
! #define  PATCHLEVEL   5
  
  #define  FPRINTF      (void) fprintf    /* To make lint happy. */
  #define  PRINTF       (void) printf
--- 38,44 ----
  #include <time.h>
  #include <pwd.h>
  
! #define  PATCHLEVEL   6
  
  #define  FPRINTF      (void) fprintf    /* To make lint happy. */
  #define  PRINTF       (void) printf
***************
*** 239,244 ****
--- 239,245 ----
            if (eol)
              {
                endline() ;
+               useline() ;
                startline() ;
              }
          }