Nicholas Clark <[EMAIL PROTECTED]> writes:

> Change 25853 by [EMAIL PROTECTED] on 2005/10/26 10:06:37
> 
>       Store the raw bytes of the pid in PL_pidstatus, rather than the
>       stringification, as removing the conversions saves time and code.
> 
> Affected files ...
> 
> ... //depot/perl/util.c#501 edit
> 
> Differences ...
> 
> ==== //depot/perl/util.c#501 (text) ====
> Index: perl/util.c
> --- perl/util.c#500~25850~    Wed Oct 26 01:31:20 2005
> +++ perl/util.c       Wed Oct 26 03:06:37 2005
> @@ -2639,16 +2639,17 @@
>       return -1;
>  #ifdef PERL_USES_PL_PIDSTATUS
>      {
> -     char spid[TYPE_CHARS(IV)];
> -
>       if (pid > 0) {
>           SV** svp;
> -         const I32 len = my_sprintf(spid, "%"IVdf, (IV)pid);

So now Perl_my_sprintf() and all the SPRINTF_RETURNS_STRLEN ifdefs can
go away again?

--Gisle

Reply via email to