* CRTL's emulation of Unix-style signals and kill()
*/
while (++mark <= sp) {
+ I32 proc;
+ register unsigned long int __vmssts;
if (!(SvIOK(*mark) || SvNOK(*mark) || looks_like_number(*mark)))
Perl_croak(aTHX_ "Can't kill a non-numeric process ID");
- I32 proc = SvIV(*mark);
- register unsigned long int __vmssts;
+ proc = SvIV(*mark);
APPLY_TAINT_PROPER();
if (!((__vmssts = sys$delprc(&proc,0)) & 1)) {
tot--;
if (val < 0) {
val = -val;
while (++mark <= sp) {
+ I32 proc;
if (!(SvIOK(*mark) || SvNOK(*mark) || looks_like_number(*mark)))
Perl_croak(aTHX_ "Can't kill a non-numeric process ID");
- const I32 proc = SvIV(*mark);
+ proc = SvIV(*mark);
APPLY_TAINT_PROPER();
#ifdef HAS_KILLPG
if (PerlProc_killpg(proc,val)) /* BSD */
}
else {
while (++mark <= sp) {
+ I32 proc;
if (!(SvIOK(*mark) || SvNOK(*mark) || looks_like_number(*mark)))
Perl_croak(aTHX_ "Can't kill a non-numeric process ID");
- const I32 proc = SvIV(*mark);
+ proc = SvIV(*mark);
APPLY_TAINT_PROPER();
if (PerlProc_kill(proc, val))
tot--;