From 50b322f7015a5e4ad0c57a1f0b49a061bdc71faf Mon Sep 17 00:00:00 2001 From: "jouni%heikniemi.net" <> Date: Sun, 4 Jan 2004 15:39:00 +0000 Subject: Bug 185330: Checksetup console input doesn't work on Win32. r,a=justdave --- checksetup.pl | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'checksetup.pl') diff --git a/checksetup.pl b/checksetup.pl index 9b368b9b8..821de1262 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -336,6 +336,14 @@ if (%missing) { } } + +# If we're running on Windows, reset the input line terminator so that +# console input works properly - loading CGI tends to mess it up + +if ($^O =~ /MSWin/i) { + $/ = "\015\012"; +} + ########################################################################### # Global definitions ########################################################################### -- cgit v1.2.3-24-g4f1b