summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorDominic Dunlop <domo@computer.org>2000-11-28 17:41:57 +0100
committerJarkko Hietaniemi <jhi@iki.fi>2000-11-29 17:50:43 +0000
commit85c8a68620300a0ff813af7fe84e9d35b2842aa2 (patch)
treeeb4126152e5ae02bf1ae3c6f7a69f4a9cba08998 /Configure
parent80f3f38871d8331c132474c2e6623f763620cb12 (diff)
downloadperl-85c8a68620300a0ff813af7fe84e9d35b2842aa2.tar.gz
[ID 20001128.003] Not OK: perl v5.7.0 +DEVEL7891 on ppc-linux 2.2.17
Message-Id: <p04320400b649771b9797@[192.168.1.4]> Patch to catch a core dump in the Configure va_copy test. p4raw-id: //depot/perl@7928
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure9
1 files changed, 8 insertions, 1 deletions
diff --git a/Configure b/Configure
index b3917a5313..9f8808015e 100755
--- a/Configure
+++ b/Configure
@@ -20,7 +20,7 @@
# $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $
#
-# Generated on Sun Nov 26 20:19:22 EET 2000 [metaconfig 3.0 PL70]
+# Generated on Wed Nov 29 18:47:12 EET 2000 [metaconfig 3.0 PL70]
# (with additional metaconfig patches by perlbug@perl.org)
cat >/tmp/c1$$ <<EOF
@@ -13587,6 +13587,11 @@ case "$i_stdarg" in
$cat >try.c <<EOCP
#include <stdarg.h>
#include <stdio.h>
+#$i_stdlib I_STDLIB
+#ifdef I_STDLIB
+#include <stdlib.h>
+#endif
+#include <signal.h>
int
ivfprintf(FILE *f, const char *fmt, va_list *valp)
@@ -13611,6 +13616,8 @@ myprintf(char *fmt, ...)
int
main(int ac, char **av)
{
+ signal(SIGSEGV, exit);
+
myprintf("%s%cs all right, then\n", "that", '\'');
exit(0);
}