Subject: | Cygwin is neither mswin32 nor a crlf platform |
Cygwin is neither mswin32 nor a crlf platform, so don't lump it together and don't treat it that way. This makes all the tests run and pass.
Subject: | perl-Mail-Box.src.patch |
--- origsrc/Mail-Box-2.118/lib/Mail/Box/File.pm 2015-02-26 12:52:52.000000000 +0100
+++ src/Mail-Box-2.118/lib/Mail/Box/File.pm 2016-06-12 14:59:52.357069300 +0200
@@ -32,7 +32,7 @@ use POSIX ':unistd_h';
use IO::File;
my $windows;
-BEGIN { $windows = $^O =~ m/mswin32|cygwin/i }
+BEGIN { $windows = $^O =~ m/mswin32/i }
my $default_folder_dir = exists $ENV{HOME} ? $ENV{HOME} . '/Mail' : '.';
--- origsrc/Mail-Box-2.118/lib/Mail/Message.pm 2015-02-26 12:52:53.000000000 +0100
+++ src/Mail-Box-2.118/lib/Mail/Message.pm 2016-06-12 14:59:52.357069300 +0200
@@ -24,7 +24,7 @@ use Scalar::Util 'weaken';
our $crlf_platform;
-BEGIN { $crlf_platform = $^O =~ m/win32|cygwin/i }
+BEGIN { $crlf_platform = $^O =~ m/win32/i }
#------------------------------------------
--- origsrc/Mail-Box-2.118/tests/Tools.pm 2015-02-26 12:52:53.000000000 +0100
+++ src/Mail-Box-2.118/tests/Tools.pm 2016-06-12 14:59:52.372697400 +0200
@@ -42,7 +42,7 @@ our ($cpy, $cpyfn);
our ($crlf_platform, $windows);
BEGIN {
- $windows = $^O =~ m/mswin32|cygwin/i;
+ $windows = $^O =~ m/mswin32/i;
$crlf_platform = $windows;
$folderdir = -d 'folders' ? 'folders'