This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add the correct PL_sig_ignoring skip for VMS in makedef.pl.
authorCraig A. Berry <craigberry@mac.com>
Wed, 3 Aug 2011 00:06:41 +0000 (19:06 -0500)
committerCraig A. Berry <craigberry@mac.com>
Wed, 3 Aug 2011 00:06:41 +0000 (19:06 -0500)
commit662667f1e08ac081a3bfcaed3d91ad5410c3d6e4
treeb4f94d45f3c712930ba97c0c37b5f4061752aca3
parent10654d5139c0a27b996d0f536591978b3a6d532f
Add the correct PL_sig_ignoring skip for VMS in makedef.pl.

This only exists when FAKE_PERSISTENT_SIGNAL_HANDLERS is defined,
and that's only defined when HAS_SIGACTION is false.

The problem was exposed by ed76ea85d1, which fixed a typo introduced
in aadb217dbe, but that typo introduced code that was a noop on all
platforms, including VMS, where $^O is 'VMS', not 'vms'.

TODO: The existence of PL_sig_defaulting and PL_sig_handlers_initted
depends on the definedness of FAKE_DEFAULT_SIGNAL_HANDLERS, which
depends on KILL_BY_SIGPRC, which is written directly to config.h
without being recorded in config.sh and is thus not visible in Config.
So there's no good way to know when these symbols should be skipped.

KILL_BY_SIGPRC currently gets defined on all VMS versions and platforms,
so it's a breakage-in-waiting but does not actually fall down (yet).
makedef.pl