develooper Front page | perl.perl5.porters | Postings from May 2018

Re: [perl #132863] Bleadperl breaksOALDERS/LWP-Protocol-https-6.07.tar.gz on Windows

Thread Previous | Thread Next
From:
Steve Hay via perl5-porters
Date:
May 8, 2018 16:57
Subject:
Re: [perl #132863] Bleadperl breaksOALDERS/LWP-Protocol-https-6.07.tar.gz on Windows
Message ID:
CADED=K7gs+xa=uG-xipeTRanz61KF6O4qvpHNs+pN0CEC0kcLw@mail.gmail.com
On 8 May 2018 at 14:27, Dave Mitchell <davem@iabyn.com> wrote:
> On Fri, May 04, 2018 at 09:36:17PM +0100, Steve Hay via perl5-porters wrote:
>> On 4 May 2018 at 20:39, Dave Mitchell <davem@iabyn.com> wrote:
>> > On Fri, May 04, 2018 at 05:58:50PM +0100, Steve Hay via perl5-porters wrote:
>> >> So the problem here isn't yet fixed.
>> >
>> > What does the following code output under Windows on
>> > 1) something pre v5.27.7-9-g8e920bd341
>> > 2) blead
>> > 3) my smoke-me/davem/win32_exit branch?
>> >
>> >     $| = 1;
>> >     my $pid = fork();
>> >     die "fork: $!\n" unless defined $pid;
>> >     my $who = $pid ? "parent" : "child";
>> >     END { print "END: $who\n" }
>> >
>>
>> They all output:
>>
>> END: parent
>
> Hmmm.
>
> Could you show the output from the attached script for each of the perls
> described above, thanks?
>

Pre-8e920bd341 outputs this:

parent: sleep(4)
child: sleep(1)
child: sleep(1)
child: sleep(1)
child: sleep(1)
parent: finishing
END: parent: killing (-12584)
END: parent: done kill (-12584)

Blead and your branch both output this:

parent: sleep(4)
child: sleep(1)
child: sleep(1)
child: sleep(1)
child: sleep(1)
parent: finishing
child: sleep(1)
child: sleep(1)
child: sleep(1)
child: sleep(1)
child: sleep(1)
child: sleep(1)
child: sleep(1)
child: sleep(1)
child: sleep(1)
child: sleep(1)
child: sleep(1)
child: sleep(1)
child: sleep(1)
child: sleep(1)
child: sleep(1)
child: sleep(1)
child: sleep(1)
[...] Ctrl+C to kill it
Terminating on signal SIGINT(2)

Thread Previous | Thread Next


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