Skip Menu |

This queue is for tickets about the Net-OpenSSH CPAN distribution.

Report information
The Basics
Id: 70319
Status: resolved
Estimated: 20 min
Worked: 1 hour (60 min)
Priority: 0/
Queue: Net-OpenSSH

People
Owner: Nobody in particular
Requestors: NICZERO [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.53_02
Fixed in: (no value)



Subject: 'new' ignores default_stdin_file
I'm guessing this mainly affects people on something like mod_perl2 for which redirecting STDIN is required.
I _think_ this is an easy fix, but I need someone to confirm the problem and the fix. Patch for v0.53.2 attached. - niczero - On Wed Aug 17 11:35:17 2011, NICZERO wrote: Show quoted text
> I'm guessing this mainly affects people on something like mod_perl2 for > which redirecting STDIN is required.
Subject: Net-OpenSSH-0.53_02.patch
--- OpenSSH.pm 2011-08-16 11:56:34.000000000 +0100 +++ OpenSSH.pm.new 2011-08-16 13:26:35.000000000 +0100 @@ -261,7 +261,7 @@ $default_stdin_file = (delete $opts{default_stdin_discard} ? '/dev/null' - : delete $opts{default_stdin_discard}); + : delete $opts{default_stdin_file}); $default_stdin_fh = delete $opts{default_stdin_fh} unless defined $default_stdin_file;
Solved in version 0.53_03 that I have just uploaded to CPAN.