diff options
author | Yves Orton <demerphq@gmail.com> | 2006-01-26 16:40:42 +0100 |
---|---|---|
committer | Steve Hay <SteveHay@planit.com> | 2006-01-26 16:25:20 +0000 |
commit | 84d78eb7303a2024a7c31dbf1ef17c1815e84d3c (patch) | |
tree | 839d6f8c9ff08153a75c98da5fac07dbaec61466 /perl.c | |
parent | d8b2590f979b3ba5689a5135513b1feda3473a5e (diff) | |
download | perl-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.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |