Skip Menu |

This queue is for tickets about the Term-ReadPassword-Win32 CPAN distribution.

Report information
The Basics
Id: 19070
Status: resolved
Priority: 0/
Queue: Term-ReadPassword-Win32

People
Owner: Nobody in particular
Requestors: mike.scott [...] bbc.co.uk
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.02
Fixed in: (no value)



Subject: Doesn't restore file handles
I'm using ActiveState 5.6 build 635 on Windows XP and have found that read_password does not restore the STDIN and STDERR file handles. This means that after using read_password input and error output is broken. Nothing comes in or goes out.
From: yon.ar.chall [...] gmail.com
On Thu May 04 08:45:49 2006, guest wrote: Show quoted text
> I'm using ActiveState 5.6 build 635 on Windows XP and have found that > read_password does not restore the STDIN and STDERR file handles. This > means that after using read_password input and error output is broken. > Nothing comes in or goes out.
Maybe it is due to the Win32::Console module, which is used by Term::ReadPassword::Win32. See the reported bug http://rt.cpan.org/Ticket/Display.html?id=33513 on the libwin32 distribution. It gives a workaround (closing and re-opening the STDxxx on the Windows console).
fixed in 0.03