[Bug 1062267] IPC::Run3::run3($command, \undef) clobbers STDIN

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1062267



--- Comment #2 from Ralf Corsepius <rc040203@xxxxxxxxxx> ---
(In reply to Petr Pisar from comment #0)
> If IPC::Run3::run3() is invoked with \undef for command's standard input, it
> will clobber STDIN, so STDIN is unusable after return from run3():
> 
> Reproducer:
> 
> $ printf '1\n2\n'| perl -MIPC::Run3 -e 'while (<>) { print; run3([q{true}],
> \undef) }' 
> 1
> 
> This should print:
> 
> 1
> 2
> 
> But it stops after first loop.
> 
> Observed in perl-IPC-Run3-0.046-3.fc20.noarch, F20.
> 
> Reported to upstream, patch is there.

Thanks for the report. 

Presuming you to have tested all this carefully and "just being into it" and me
not having enough time to look into this today, feel free to apply the patch to
git. 

Otherwise, I'll look into it, tomorrow.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=4NWaAMhVxk&a=cc_unsubscribe
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux