[Bug 749167] cpanspec cannot allocate memory

2011-10-26 Thread bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


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

Jan Pazdziora  changed:

   What|Removed |Added

 CC||jpazdzi...@redhat.com

--- Comment #2 from Jan Pazdziora  2011-10-26 10:11:40 
EDT ---
(In reply to comment #1)
> The line reads:
> 
> > if (open(CHILD, "-|") == 0) {
> 
> What is it? The open is missing third argument. perldoc -f open says:
> 
> > For three or more arguments if MODE is '|-', the filename is
> > interpreted as a command to which output is to be piped, and if
> > MODE is '-|', the filename is interpreted as a command that
> > pipes output to us.  In the two-argument (and one-argument)
> > form, one should replace dash ('-') with the command.  See
> > "Using open() for IPC" in perlipc for more examples of this.

I cannot speak for this bugzilla as a whole but the open is not missing any
argument -- see man perlipc for what open(CHILD, "-|") means.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-de...@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel


[Bug 749167] cpanspec cannot allocate memory

2011-10-26 Thread bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


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

Petr Pisar  changed:

   What|Removed |Added

 CC||ppi...@redhat.com

--- Comment #1 from Petr Pisar  2011-10-26 09:59:21 EDT ---
The line reads:

> if (open(CHILD, "-|") == 0) {

What is it? The open is missing third argument. perldoc -f open says:

> For three or more arguments if MODE is '|-', the filename is
> interpreted as a command to which output is to be piped, and if
> MODE is '-|', the filename is interpreted as a command that
> pipes output to us.  In the two-argument (and one-argument)
> form, one should replace dash ('-') with the command.  See
> "Using open() for IPC" in perlipc for more examples of this.

However I cannot reproduce it. Maybe I have to much memory. However I noticed
an defunct child and zombie before init cleaned it, so there is something wrong
definitely.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-de...@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel