Rn bug patch #14 (REPOSTED)

Jonathan Biggar jonab at sdcrdcf.UUCP
Sat Nov 17 10:02:32 AEST 1984


System: rn version 4.1
Bug #: 14
Priority: LOW
Subject: missing ; if DEBUGGING not defined
Index: rcln.c
Prereq: 4.1.1.2
From: gail at calmasd.UUCP (Gail Bayley Hanrahan)

Description:
	If DEBUGGING is undefined, and your compiler doesn't like labels
	without a statement following them, it will complain.

Fix:	From rn, say "| patch -d DIR", where DIR is your rn source directory.
	Outside of rn, say "cd DIR; patch <thisarticle".  If you don't have
	the patch program, apply the following by hand, or get patch.

	This patch must be applied only to a revision 4.1.1.2
	rcln.c (with patch #4 applied).

*** /tmp/,RCSt1018202	Fri Oct 12 17:07:24 1984
--- /tmp/,RCSt2018202	Fri Oct 12 17:07:34 1984
***************
*** 1,4
! /* $Header: rcln.c,v 4.1.1.2 84/09/25 17:20:55 lwall Exp $
   *
   * $Log:	rcln.c,v $
   * Revision 4.1.1.2  84/09/25  17:20:55  lwall

--- 1,4 -----
! /* $Header: rcln.c,v 4.1.1.3 84/10/12 17:04:21 lwall Exp $
   *
   * $Log:	rcln.c,v $
   * Revision 4.1.1.3  84/10/12  17:04:21  lwall
***************
*** 1,6
  /* $Header: rcln.c,v 4.1.1.2 84/09/25 17:20:55 lwall Exp $
   *
   * $Log:	rcln.c,v $
   * Revision 4.1.1.2  84/09/25  17:20:55  lwall
   * Getting abs1st from active file before calling checkexpired caused
   * checkexpired to not get called.

--- 1,9 -----
  /* $Header: rcln.c,v 4.1.1.3 84/10/12 17:04:21 lwall Exp $
   *
   * $Log:	rcln.c,v $
+  * Revision 4.1.1.3  84/10/12  17:04:21  lwall
+  * Supplied missing semicolon when DEBUGGING undefined.
+  * 
   * Revision 4.1.1.2  84/09/25  17:20:55  lwall
   * Getting abs1st from active file before calling checkexpired caused
   * checkexpired to not get called.
***************
*** 449,455
  	rcline[ngnum] = mbuf;
      }
  
! ret:
  #ifdef DEBUGGING
      if (debug & DEB_XREF_MARKER) {
  	printf("%s%c%s\n",rcline[ngnum],rcchar[ngnum],

--- 452,458 -----
  	rcline[ngnum] = mbuf;
      }
  
! ret:;		/* semicolon in case DEBUGGING undefined */
  #ifdef DEBUGGING
      if (debug & DEB_XREF_MARKER) {
  	printf("%s%c%s\n",rcline[ngnum],rcchar[ngnum],



More information about the Comp.sources.bugs mailing list