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

2014-02-12 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1062267

Fedora Update System upda...@fedoraproject.org changed:

   What|Removed |Added

 Status|MODIFIED|ON_QA



--- Comment #6 from Fedora Update System upda...@fedoraproject.org ---
Package perl-IPC-Run3-0.046-4.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing perl-IPC-Run3-0.046-4.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-2332/perl-IPC-Run3-0.046-4.fc19
then log in and leave karma (feedback).

-- 
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=omYnJNsxVpa=cc_unsubscribe
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

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

2014-02-12 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1062267



--- Comment #7 from Fedora Update System upda...@fedoraproject.org ---
Package perl-IPC-Run3-0.046-4.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing perl-IPC-Run3-0.046-4.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-2334/perl-IPC-Run3-0.046-4.fc20
then log in and leave karma (feedback).

-- 
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=lK7EbgBYNQa=cc_unsubscribe
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

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

2014-02-10 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1062267



--- Comment #4 from Fedora Update System upda...@fedoraproject.org ---
perl-IPC-Run3-0.046-4.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/perl-IPC-Run3-0.046-4.fc20

-- 
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=waaxo1jQhDa=cc_unsubscribe
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

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

2014-02-10 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1062267



--- Comment #5 from Fedora Update System upda...@fedoraproject.org ---
perl-IPC-Run3-0.046-4.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/perl-IPC-Run3-0.046-4.fc19

-- 
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=RS8Wpeyia3a=cc_unsubscribe
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

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

2014-02-06 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1062267



--- Comment #1 from Petr Pisar ppi...@redhat.com ---
Created attachment 860208
  -- https://bugzilla.redhat.com/attachment.cgi?id=860208action=edit
Proposed fix

-- 
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=fS66sZvKu0a=cc_unsubscribe
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

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

2014-02-06 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1062267



--- Comment #2 from Ralf Corsepius rc040...@freenet.de ---
(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=4NWaAMhVxka=cc_unsubscribe
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

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

2014-02-06 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1062267



--- Comment #3 from Petr Pisar ppi...@redhat.com ---
I spent long time to understand what lead upstream to use the current code as
the patch actually reverts it. The perl documentation regarding file handle
globs and underlying file descriptors is very sparse. I did some tests and
everything seems good with the patch, but I'd like somebody to review it.

-- 
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=se2fKKFdEia=cc_unsubscribe
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel