Skip Menu |

This queue is for tickets about the Mail-Box CPAN distribution.

Report information
The Basics
Id: 115286
Status: resolved
Priority: 0/
Queue: Mail-Box

People
Owner: Nobody in particular
Requestors:
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 2.118
Fixed in: 2.119



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'
Subject: Re: [rt.cpan.org #115286] Cygwin is neither mswin32 nor a crlf platform
Date: Tue, 14 Jun 2016 15:04:46 +0200
To: "https://me.yahoo.com/howdidwegetherereally#f714d via RT" <bug-Mail-Box [...] rt.cpan.org>
From: Mark Overmeer <solutions [...] overmeer.net>
* https://me.yahoo.com/howdidwegetherereally#f714d via RT (bug-Mail-Box@rt.cpan.org) [160612 13:06]: Show quoted text
> Sun Jun 12 09:06:05 2016: Request 115286 was acted upon. > Transaction: Ticket created by https://me.yahoo.com/howdidwegetherereally#f714d > Queue: Mail-Box > 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.
I have never seen or touched such machine ;-) Taken. -- regards, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net
Released a year ago