summaryrefslogtreecommitdiff
path: root/arg.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 /arg.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 'arg.c')
-rw-r--r--arg.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/arg.c b/arg.c
index 9561bb6665..8aceb66fee 100644
--- a/arg.c
+++ b/arg.c
@@ -1,6 +1,9 @@
-/* $Header: arg.c,v 1.0 87/12/18 13:04:33 root Exp $
+/* $Header: arg.c,v 1.0.1.1 88/01/21 21:27:10 root Exp $
*
* $Log: arg.c,v $
+ * Revision 1.0.1.1 88/01/21 21:27:10 root
+ * Now defines signal return values correctly using VOIDSIG.
+ *
* Revision 1.0 87/12/18 13:04:33 root
* Initial revision
*
@@ -1173,8 +1176,13 @@ init_eval()
opargs[O_REPEAT] = A(1,1,0);
}
+#ifdef VOIDSIG
+static void (*ihand)();
+static void (*qhand)();
+#else
static int (*ihand)();
static int (*qhand)();
+#endif
STR *
eval(arg,retary)