From 8519aee96271a17c2a626625ccaa2f1e29f26a76 Mon Sep 17 00:00:00 2001 From: SPFabGerman <42518661+SPFabGerman@users.noreply.github.com> Date: Sat, 28 May 2022 17:59:12 +0200 Subject: Prevent uninitialized variable warning in File::BaseDir --- lib/File/MimeInfo/Applications.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/File/MimeInfo/Applications.pm b/lib/File/MimeInfo/Applications.pm index 7778485..1629eb6 100644 --- a/lib/File/MimeInfo/Applications.pm +++ b/lib/File/MimeInfo/Applications.pm @@ -178,7 +178,7 @@ sub _write_list { } sub _find_file { - my @list = shift; + my @list = @_; for (@list) { my $file = data_files('applications', $_); return File::DesktopEntry->new($file) if $file; -- cgit v1.2.3 From 830e9aba59ce1290b2c50c921dfde169092f82a4 Mon Sep 17 00:00:00 2001 From: Michiel Beijen Date: Tue, 12 Jul 2022 22:44:27 +0200 Subject: add SPFabGerman to x_contributors --- Makefile.PL | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.PL b/Makefile.PL index 944dbac..19edb0e 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -59,6 +59,7 @@ WriteMakefile ( 'Patrick Burroughs (Celti) ', 'Philippe Bruhat (BooK) ', 'Rudolf Leermakers ', + 'SPFabGerman <42518661+SPFabGerman@users.noreply.github.com>', 'Sean Smith ', 'Stefan Seifert ', 'brian m. carlson ', -- cgit v1.2.3 From bfa9cdf1c993699b7d5e2d2d03392f2e957fb112 Mon Sep 17 00:00:00 2001 From: Michiel Beijen Date: Tue, 12 Jul 2022 22:48:47 +0200 Subject: Release engineering for 0.33 --- Changes | 4 ++++ lib/File/MimeInfo.pm | 2 +- lib/File/MimeInfo/Applications.pm | 2 +- lib/File/MimeInfo/Magic.pm | 2 +- lib/File/MimeInfo/Rox.pm | 2 +- mimeopen | 2 +- mimetype | 2 +- 7 files changed, 10 insertions(+), 6 deletions(-) diff --git a/Changes b/Changes index 97ba933..bccff8e 100644 --- a/Changes +++ b/Changes @@ -2,6 +2,10 @@ Revision history for Perl extension File::MimeInfo. Versions up to 0.15 by Jaap Karssenberg Versions starting 0.16 by Michiel Beijen +0.33 2022-07-12 + - Fix uninitialized value warning in File::MimeInfo::Applications, + provided by SPFabGerman + 0.32 2022-03-06 - Fix uninitialized values in _read_list() call, provided by mazunki diff --git a/lib/File/MimeInfo.pm b/lib/File/MimeInfo.pm index 6c60eb9..214d1b7 100644 --- a/lib/File/MimeInfo.pm +++ b/lib/File/MimeInfo.pm @@ -11,7 +11,7 @@ require Exporter; our @ISA = qw(Exporter); our @EXPORT = qw(mimetype); our @EXPORT_OK = qw(extensions describe globs inodetype mimetype_canon mimetype_isa); -our $VERSION = '0.32'; +our $VERSION = '0.33'; our $DEBUG; our ($_hashed, $_hashed_aliases, $_hashed_subclasses, $_has_mimeinfo_database); diff --git a/lib/File/MimeInfo/Applications.pm b/lib/File/MimeInfo/Applications.pm index 1629eb6..0f4e0ef 100644 --- a/lib/File/MimeInfo/Applications.pm +++ b/lib/File/MimeInfo/Applications.pm @@ -9,7 +9,7 @@ use File::MimeInfo qw/mimetype_canon mimetype_isa/; use File::DesktopEntry; require Exporter; -our $VERSION = '0.32'; +our $VERSION = '0.33'; our @ISA = qw(Exporter); our @EXPORT = qw( diff --git a/lib/File/MimeInfo/Magic.pm b/lib/File/MimeInfo/Magic.pm index bb269ce..c144ad8 100644 --- a/lib/File/MimeInfo/Magic.pm +++ b/lib/File/MimeInfo/Magic.pm @@ -17,7 +17,7 @@ BEGIN { our @ISA = qw(Exporter File::MimeInfo); our @EXPORT = qw(mimetype); our @EXPORT_OK = qw(extensions describe globs inodetype magic); -our $VERSION = '0.32'; +our $VERSION = '0.33'; our $DEBUG; our $_hashed = 0; diff --git a/lib/File/MimeInfo/Rox.pm b/lib/File/MimeInfo/Rox.pm index 6e8abce..89f91e3 100644 --- a/lib/File/MimeInfo/Rox.pm +++ b/lib/File/MimeInfo/Rox.pm @@ -11,7 +11,7 @@ our @ISA = qw(Exporter); our @EXPORT = qw(mime_exec mime_system); our @EXPORT_OK = qw(suggest_script_name); our %EXPORT_TAGS = (magic => \@EXPORT); -our $VERSION = '0.32'; +our $VERSION = '0.33'; our @choicespath = ( config_home('rox.sourceforge.net'), File::Spec->catdir($ENV{HOME}, 'Choices'), diff --git a/mimeopen b/mimeopen index 4695323..a7ff01b 100755 --- a/mimeopen +++ b/mimeopen @@ -2,7 +2,7 @@ use strict; use warnings; -our $VERSION = '0.32'; +our $VERSION = '0.33'; $|++; # ########## # diff --git a/mimetype b/mimetype index 1d0e782..7542953 100755 --- a/mimetype +++ b/mimetype @@ -2,7 +2,7 @@ use strict; use warnings; -our $VERSION = '0.32'; +our $VERSION = '0.33'; $|++; # ########## # -- cgit v1.2.3