[comp.sources.bugs] Official patch #5 for mp v2.3; please apply it.

richb@sunaus.oz (Rich Burridge) (02/05/90)

It makes the following change:

    1/ From Johan Vromans <jv@mh.nl>
       From Rick Gunderson <rickg@toshiba.tic.oz.au>
       Storage allocation for string constants is different with cc and
       the GNU C compiler (gcc). Two adjustments in print.c are needed.


Use Larry Walls' patch program to apply these diffs, then recompile.

------CUT HERE------patch.5------CUT HERE-----

------- README -------
*** /tmp/da8858	Mon Feb  5 14:31:00 1990
--- README	Mon Feb  5 14:14:41 1990
***************
*** 43,50 ****
  Thanks go also to Bill Shannon, Roger De Salis, L. Jill Debord, Frederick
  Avolio, Mark Prior, Stephen Frede, Craig Bishop, Jimmy Aitken, Hugues Leroy,
  Bertrand Decouty, David Fiedler, Scott A. Jordahl, David Boone, Steve Cliffe,
! Maureen Chew, Brian Kohn, Walter Underwood, Mike Khaw and Johan Vromans for
! bug reports and/or bug fixes.
  
  My thanks also goes to Glenn Reid from Adobe Systems for the backspacefont.ps
  code used in the prologue files. I'm grateful to all these people, plus
--- 43,50 ----
  Thanks go also to Bill Shannon, Roger De Salis, L. Jill Debord, Frederick
  Avolio, Mark Prior, Stephen Frede, Craig Bishop, Jimmy Aitken, Hugues Leroy,
  Bertrand Decouty, David Fiedler, Scott A. Jordahl, David Boone, Steve Cliffe,
! Maureen Chew, Brian Kohn, Walter Underwood, Mike Khaw, Rick Gunderson and
! Johan Vromans for bug reports and/or bug fixes.
  
  My thanks also goes to Glenn Reid from Adobe Systems for the backspacefont.ps
  code used in the prologue files. I'm grateful to all these people, plus

------- print.c -------
*** /tmp/da8861	Mon Feb  5 14:31:00 1990
--- print.c	Mon Feb  5 14:16:13 1990
***************
*** 108,114 ****
    int i ;
  
    if (article == TRUE)
!     STRCPY(message_for, "Article from") ;             /* MailFor. */
    psdef("MailFor", message_for) ;
  
    if (article == TRUE && newsgroups != NULL)          /* User. */
--- 108,114 ----
    int i ;
  
    if (article == TRUE)
!     message_for = "Article from" ;                    /* MailFor. */
    psdef("MailFor", message_for) ;
  
    if (article == TRUE && newsgroups != NULL)          /* User. */
***************
*** 123,129 ****
   
    do_date() ;                                         /* TimeNow. */
   
!   if (text_doc && cmdfiles) STRCPY(subject, curfname) ;
    psdef("Subject", subject) ;                         /* Subject. */
  }
  
--- 123,129 ----
   
    do_date() ;                                         /* TimeNow. */
   
!   if (text_doc && cmdfiles) subject = curfname ;
    psdef("Subject", subject) ;                         /* Subject. */
  }
  

------- patchlevel.h -------
*** /tmp/da8864	Mon Feb  5 14:31:01 1990
--- patchlevel.h	Mon Feb  5 14:13:50 1990
***************
*** 14,17 ****
   *  reported to me then an attempt will be made to fix them.
   */
  
! #define  PATCHLEVEL  4
--- 14,17 ----
   *  reported to me then an attempt will be made to fix them.
   */
  
! #define  PATCHLEVEL  5