develooper Front page | perl.perl5.porters | Postings from October 2005

Re: Change 25810: [patch@25809]restore documented exit behavior From: "John E. Malmberg" <wb8tyw@qsl.net>

From:
Nicholas Clark
Date:
October 24, 2005 06:19
Subject:
Re: Change 25810: [patch@25809]restore documented exit behavior From: "John E. Malmberg" <wb8tyw@qsl.net>
Message ID:
20051024131906.GI24583@plum.flirble.org
On Thu, Oct 20, 2005 at 04:13:33PM -0700, Craig A. Berry wrote:
> Change 25810 by craigb@craigb-brianor on 2005/10/20 22:38:36
> 
> 	Subject: [patch@25809]restore documented exit behavior
> 	From: "John E. Malmberg" <wb8tyw@qsl.net>
> 	Date: Thu, 20 Oct 2005 18:21:20 -0400
> 	Message-id: <43581860.3020108@qsl.net>

> ==== //depot/perl/mg.c#373 (text) ====
> Index: perl/mg.c
> --- perl/mg.c#372~25803~	Wed Oct 19 01:18:30 2005
> +++ perl/mg.c	Thu Oct 20 15:38:36 2005
> @@ -2397,10 +2397,10 @@
>  #endif
>  #ifdef VMSISH_STATUS
>  	if (VMSISH_STATUS)
> -	    STATUS_NATIVE_SET((U32)(SvIOK(sv) ? SvIVX(sv) : sv_2iv(sv)));
> +	    STATUS_NATIVE_CHILD_SET((U32)SvIV(sv));
>  	else
>  #endif
> -	    STATUS_UNIX_SET(SvIOK(sv) ? SvIVX(sv) : sv_2iv(sv));
> +	    STATUS_UNIX_EXIT_SET(SvIOK(sv) ? SvIVX(sv) : sv_2iv(sv));
>  	break;
>      case '!':
>          {

...


I see a lot of active patching in Gisle's exit code. Is this just on the VMS
aspects of it, or does it also effect the Unix and Windows sides? Would it be
safer to leave off integrating all of this to maint for a couple of months?

Nicholas Clark



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About