Commit 50b322f7 authored by jouni%heikniemi.net's avatar jouni%heikniemi.net

Bug 185330: Checksetup console input doesn't work on Win32. r,a=justdave

parent 9e3ebb48
...@@ -336,6 +336,14 @@ if (%missing) { ...@@ -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 # Global definitions
########################################################################### ###########################################################################
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment