diff options
| author | Martin Wilke <miwi@FreeBSD.org> | 2007-12-15 23:19:41 +0000 |
|---|---|---|
| committer | Martin Wilke <miwi@FreeBSD.org> | 2007-12-15 23:19:41 +0000 |
| commit | d6cd0dce2b499edf414871a4010fc8be0ddb80c9 (patch) | |
| tree | d1797cba18a100db5c32f9198995fe0b08764c86 /sysutils/p5-Sys-Filesystem/files/patch-lib-Sys-Filesystem.pm | |
| parent | 810f84e649e95e4dfb4625500125a20143de862e (diff) | |
Notes
Diffstat (limited to 'sysutils/p5-Sys-Filesystem/files/patch-lib-Sys-Filesystem.pm')
| -rw-r--r-- | sysutils/p5-Sys-Filesystem/files/patch-lib-Sys-Filesystem.pm | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/sysutils/p5-Sys-Filesystem/files/patch-lib-Sys-Filesystem.pm b/sysutils/p5-Sys-Filesystem/files/patch-lib-Sys-Filesystem.pm index c4d3344b99de..9b84ef611989 100644 --- a/sysutils/p5-Sys-Filesystem/files/patch-lib-Sys-Filesystem.pm +++ b/sysutils/p5-Sys-Filesystem/files/patch-lib-Sys-Filesystem.pm @@ -1,11 +1,11 @@ ---- lib/Sys/Filesystem.pm.orig Fri May 26 12:06:39 2006 -+++ lib/Sys/Filesystem.pm Fri May 26 12:06:40 2006 -@@ -108,7 +108,7 @@ - # Invert logic for regular - if (exists $params->{regular}) { - delete $params->{regular}; -- $params->{regular} = undef; -+ $params->{special} = undef; - } +--- ./lib/Sys/Filesystem.pm.orig Thu Jun 1 14:10:48 2006 ++++ ./lib/Sys/Filesystem.pm Fri Nov 30 11:39:17 2007 +@@ -30,6 +30,8 @@ + use vars qw($VERSION $AUTOLOAD); + $VERSION = '1.22' || sprintf('%d', q$Revision: 574 $ =~ /(\d+)/g); - my @filesystems = (); ++our @special_fs = qw(swap proc tmpfs nfs autofs); ++ + sub new { + # Check we're being called correctly with a class name + ref(my $class = shift) && croak 'Class name required'; |
