Subject: | Fwd: patch for Sys::Filesystem 1.406 |
Date: | Tue, 10 Mar 2015 09:16:26 +0100 |
To: | bug-Sys-Filesystem [...] rt.cpan.org |
From: | Jens Rehsack <rehsack [...] cpan.org> |
Show quoted text
> Anfang der weitergeleiteten Nachricht:
>
> Datum: 9. März 2015 21:00:05 MEZ
> Von: Christian Carey <seen@myfairpoint.net>
> An: Jens Rehsack <rehsack@cpan.org>
> Betreff: patch for Sys::Filesystem 1.406
>
> Hello Jens,
>
> attached is a patch for lib/Sys/Filesystem/Cygwin.pm in Sys::Filesystem 1.406, which ensures that the filesystem mounted on “/” will be included in return values from the module’s …filesystems() subroutines when run under Cygwin. Please let me know if you have any questions or concerns about the patch.
>
> Kind regards,
>
> Chris.
> --
> Christian Carey
> seen@myfairpoint.net
> --- lib/Sys/Filesystem/Cygwin.pm 2014-05-13 13:45:58.000000000 +0000
> +++ lib/Sys/Filesystem/Cygwin.pm.modified 2015-03-09 19:26:58.000000000 +0000
> @@ -47,7 +47,7 @@
> devpts => 1,
> tmpfs => 1,
> );
> -my $mount_rx = qr/^\s*(.+?)\s+on\s+(\/.+?)\s+type\s+(\S+)\s+\((\S+)\)\s*$/;
> +my $mount_rx = qr/^\s*(.+?)\s+on\s+(\/.*)\s+type\s+(\S+)\s+\((\S+)\)\s*$/;
>
> sub new
> {
--
Jens Rehsack
rehsack@gmail.com