summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorYves Orton <demerphq@gmail.com>2006-01-26 16:40:42 +0100
committerSteve Hay <SteveHay@planit.com>2006-01-26 16:25:20 +0000
commit84d78eb7303a2024a7c31dbf1ef17c1815e84d3c (patch)
tree839d6f8c9ff08153a75c98da5fac07dbaec61466 /perl.c
parentd8b2590f979b3ba5689a5135513b1feda3473a5e (diff)
downloadperl-84d78eb7303a2024a7c31dbf1ef17c1815e84d3c.tar.gz
Make dump and -u croak on Win32 and Cygwin to avoid confusion
such as was seen here: Subject: Weird Win32 error: "This application has requested the Runtime to terminate it in an unusual way." Message-ID: <9b18b3110601260640x34b2442cnf5379d2f83b74187@mail.gmail.com> p4raw-id: //depot/perl@26947
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl.c b/perl.c
index 0e412b12d0..7c881c420a 100644
--- a/perl.c
+++ b/perl.c
@@ -3406,6 +3406,8 @@ Perl_my_unexec(pTHX)
# ifdef VMS
# include <lib$routines.h>
lib$signal(SS$_DEBUG); /* ssdef.h #included from vmsish.h */
+# elif defined(WIN32) || defined(__CYGWIN__)
+ Perl_croak(aTHX_ "dump is not supported");
# else
ABORT(); /* for use with undump */
# endif