8 Commits

Author SHA1 Message Date
David Mitchell
64a9c78095 Revert "set PERL_EXIT_DESTRUCT_END in all embeddings"
This reverts commit 8e920bd341e241f50a74dbf8aa343319f204e200.
Also skip the tests in t/op/blocks.t

RT #132863

8e920bd341 sets the PERL_EXIT_DESTRUCT_END flag on non-UNIXy platforms,
like is already done on UNIXy platforms.  This makes things like
BEGIN { exit(1) } call END blocks on those platforms (like they already
do on UNIX).

But it caused problems with win32 pseudo-forks, so revert for 5.28
and re-address the issues sometime later.
2018-05-11 08:37:20 +01:00
Zefram
8e920bd341 set PERL_EXIT_DESTRUCT_END in all embeddings
The new tests in commit 503bc07b4b9e34ed04a725b2bc8faec1ae0f3be2
showed up platform differences in whether END blocks get run.
Set PERL_EXIT_DESTRUCT_END in all embeddings to make this consistent.
2017-12-22 10:07:47 +00:00
Zefram
fe2024f944 fix up faulty perl embeddings
Some platform-specific embeddings of perl were misusing the
return values from perl_parse() and perl_run(), in some cases
causing failure due to exit(0) combined with the recent changes
in commit 0301e899536a22752f40481d8a1d141b7a7dda82.  Commit
d4a50999a5525c2681d59cae5fcd94f94ff897fd partially fixed a Windows
embedding.  More fully fix that, along with NetWare and OS/2.  Even in
embeddings with correct logic, stop using a variable named "exitstatus"
to hold the result of perl_parse() or perl_run(), to avoid misleading
people who copy the code.
2017-12-21 05:47:52 +00:00
Keith Thompson
cdad3b5347 Convert some files from Latin-1 to UTF-8 2011-09-07 22:15:35 -07:00
Nicholas Clark
115ff74526 Simplify embedvar.h, removing a level of macro indirection for PL_* variables.
For the default (non-multiplicity) configuration, PERLVAR*() macros now
directly expand their arguments to tokens such as C<PL_defgv>, instead of
expanding to C<PL_Idefgv>. This removes over 350 lines from F<embedvar.h>,
which defined macros to map from C<PL_Idefgv> to C<PL_defgv> and so forth.
2011-08-11 11:38:46 +02:00
Jarkko Hietaniemi
12232b79da Reborn as text.
p4raw-id: //depot/perl@16097
2002-04-23 01:52:36 +00:00
Jarkko Hietaniemi
c202f35634 Dead as binary.
p4raw-id: //depot/perl@16096
2002-04-23 01:52:00 +00:00
Jarkko Hietaniemi
4cd84dbf5e In MANIFEST but not added.
p4raw-id: //depot/perl@16082
2002-04-22 16:22:50 +00:00