On Sun, 10 Mar 2024 17:38:53 +0900
Takashi Yano wrote:
> On Sun, 10 Mar 2024 05:49:43 +
> wh wrote:
> > Here's how to reproduce this behavior.
> >
> > In test3.pl:
> >
> > #!/usr/bin/perl
> > my $wfds = '';
> > vec($wfds, fileno(STDOUT), 1) = 1;
> > sleep 1;
> > print STDERR "selecting\n";
>
On Sun, 10 Mar 2024 05:49:43 +
wh wrote:
> Here's how to reproduce this behavior.
>
> In test3.pl:
>
> #!/usr/bin/perl
> my $wfds = '';
> vec($wfds, fileno(STDOUT), 1) = 1;
> sleep 1;
> print STDERR "selecting\n";
> select undef, $wfds, undef, undef;
> print STDERR "ready\n";
> print "abc\n";
Here's how to reproduce this behavior.
In test3.pl:
#!/usr/bin/perl
my $wfds = '';
vec($wfds, fileno(STDOUT), 1) = 1;
sleep 1;
print STDERR "selecting\n";
select undef, $wfds, undef, undef;
print STDERR "ready\n";
print "abc\n";
Then run:
# curl is as shipped with Windows, /cygdrive/c/Windows/s
3 matches
Mail list logo