[comp.sources.bugs] perl 2.0 patch #7

lroot@devvax.JPL.NASA.GOV (The Superuser) (07/14/88)

System: perl version 2.0
Patch #: 7
Priority: MEDIUM
Subject: botched signal ifdefs

Description:
	I guess I'm a danglesocket.

	I blew it on patch 6 and neglected to terminate a comment.
	When that blew the compile I fixed it wrong.

	I also blew it in patch 6 by not instructing you to run
		sh Makefile.SH
		make depend
	(There were a couple of fixes for the Makefile, and they won't be
	effective unless you do that.  Nothing fatal, though.)

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

	After patching:
		sh Makefile.SH
		make depend
		make
		make test
		make install

	If patch indicates that patchlevel is the wrong version, you may need
	to apply one or more previous patches, or the patch may already
	have been applied.  See the patchlevel.h file to find out what has or
	has not been applied.  In any event, don't continue with the patch.

	If you are missing previous patches they can be obtained from me:

	Larry Wall
	lwall@jpl-devvax.jpl.nasa.gov

	If you send a mail message of the following form it will greatly speed
	processing:

	Subject: Command
	@SH mailpatch PATH perl 2.0 LIST
		   ^ note the c

	where PATH is a return path FROM ME TO YOU either in Internet notation,
	or in bang notation from some well-known host, and LIST is the number
	of one or more patches you need, separated by spaces, commas, and/or
	hyphens.  Saying 35- says everything from 35 to the end.


	You can also get the patches via anonymous FTP from
	jpl-devvax.jpl.nasa.gov (128.149.8.43).

Index: patchlevel.h
Prereq: 6
1c1
< #define PATCHLEVEL 6
---
> #define PATCHLEVEL 7

Index: stab.c
Prereq: 2.0.1.2
*** stab.c.old	Wed Jul 13 11:21:59 1988
--- stab.c	Wed Jul 13 11:22:01 1988
***************
*** 1,6 ****
! /* $Header: stab.c,v 2.0.1.2 88/07/12 17:36:00 root Exp $
   *
   * $Log:	stab.c,v $
   * Revision 2.0.1.2  88/07/12  17:36:00  root
   * patch6: added some SYSV signals
   * patch6: removed a useless assign
--- 1,9 ----
! /* $Header: stab.c,v 2.0.1.3 88/07/13 11:21:39 root Exp $
   *
   * $Log:	stab.c,v $
+  * Revision 2.0.1.3  88/07/13  11:21:39  root
+  * patch7: botched signal ifdefs
+  * 
   * Revision 2.0.1.2  88/07/12  17:36:00  root
   * patch6: added some SYSV signals
   * patch6: removed a useless assign
***************
*** 61,67 ****
  #ifdef SIGUSR2
      "USR2",
  #endif /* SIGUSR2 */
- #endif /* SIGUSR1 */
  #endif /* SIGLOST */
  #endif /* SIGWINCH */
  #endif /* SIGPROF */
--- 64,69 ----
***************
*** 84,90 ****
      "VTALRM",
      "PROF",
      "IO",
! #endif /* SIGCLD in normal place
  #endif /* SIGTSTP in the normal place */
  #else /* no SIGTSTP */
      "USR1",
--- 86,92 ----
      "VTALRM",
      "PROF",
      "IO",
! #endif /* SIGCLD in normal place */
  #endif /* SIGTSTP in the normal place */
  #else /* no SIGTSTP */
      "USR1",