summaryrefslogtreecommitdiff
path: root/cmd.c
diff options
context:
space:
mode:
authorDan Faigin, Doug Landauer <unknown@longtimeago>1988-01-21 09:21:04 +0000
committerLarry Wall <lwall@jpl-devvax.jpl.nasa.gov>1988-01-21 09:21:04 +0000
commit36ce8bec6e5bbc05c8d60ee17f105fc8b751cada (patch)
tree261095fa1f31159593c5eda983baf59884b33246 /cmd.c
parent8d063cd8450e59ea1c611a2f4f5a21059a2804f1 (diff)
downloadperl-36ce8bec6e5bbc05c8d60ee17f105fc8b751cada.tar.gz
perl 1.0 patch 1: Portability bugs and one possible SIGSEGV
On some systems the Configure script and C compilations get warning messages that may scare some folks unnecessarily. Also, use of the "redo" command if debugging is compiled in overflows a stack on which the trace context is kept.
Diffstat (limited to 'cmd.c')
-rw-r--r--cmd.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/cmd.c b/cmd.c
index ba57a2a3fc..c2be1a26cd 100644
--- a/cmd.c
+++ b/cmd.c
@@ -1,6 +1,9 @@
-/* $Header: cmd.c,v 1.0 87/12/18 13:04:51 root Exp $
+/* $Header: cmd.c,v 1.0.1.1 88/01/21 21:24:16 root Exp $
*
* $Log: cmd.c,v $
+ * Revision 1.0.1.1 88/01/21 21:24:16 root
+ * The redo cmd got a segmentation fault because trace context stack overflowed.
+ *
* Revision 1.0 87/12/18 13:04:51 root
* Initial revision
*
@@ -383,6 +386,9 @@ until_loop:
case O_NEXT:
goto next_iter;
case O_REDO:
+#ifdef DEBUGGING
+ dlevel = olddlevel;
+#endif
goto doit;
}
oldspat = curspat;