Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5f19e977f8 | ||
|
|
0005452ce1 | ||
|
|
140f42d6ad |
@@ -61,11 +61,11 @@ my $build = Module::Build->new(
|
|||||||
"Date::Parse" => 0,
|
"Date::Parse" => 0,
|
||||||
},
|
},
|
||||||
recommends => {
|
recommends => {
|
||||||
"File::MMagic" => 0,
|
"File::MMagic" => 0,
|
||||||
"IO::Compress::Gzip" => 0,
|
"IO::Compress::Gzip" => 0,
|
||||||
"IO::Compress::Bzip2" => 2,
|
"IO::Compress::Bzip2" => 0,
|
||||||
"IO::Compress::Xz" => 0,
|
"IO::Compress::Xz" => 0,
|
||||||
"Term::ReadKey" => 0,
|
"Term::ReadKey" => 0,
|
||||||
},
|
},
|
||||||
build_requires => {
|
build_requires => {
|
||||||
"Module::Signature" => 0,
|
"Module::Signature" => 0,
|
||||||
|
|||||||
+4
-4
@@ -51,11 +51,11 @@ EOT
|
|||||||
# Optional prerequisite modules
|
# Optional prerequisite modules
|
||||||
our (%OPT_PREREQ);
|
our (%OPT_PREREQ);
|
||||||
%OPT_PREREQ = (
|
%OPT_PREREQ = (
|
||||||
"File::MMagic" => 0,
|
"File::MMagic" => 0,
|
||||||
"IO::Compress::Gzip" => 0,
|
"IO::Compress::Gzip" => 0,
|
||||||
"IO::Compress::Bzip2" => 2,
|
"IO::Compress::Bzip2" => 0,
|
||||||
"IO::Compress::Xz" => 0,
|
"IO::Compress::Xz" => 0,
|
||||||
"Term::ReadKey" => 0,
|
"Term::ReadKey" => 0,
|
||||||
);
|
);
|
||||||
delete $OPT_PREREQ{$_}
|
delete $OPT_PREREQ{$_}
|
||||||
foreach grep eval "use $_ $OPT_PREREQ{$_} qw(); 1;", sort keys %OPT_PREREQ;
|
foreach grep eval "use $_ $OPT_PREREQ{$_} qw(); 1;", sort keys %OPT_PREREQ;
|
||||||
|
|||||||
@@ -658,7 +658,7 @@ Thanks
|
|||||||
License
|
License
|
||||||
-------
|
-------
|
||||||
|
|
||||||
Copyright (C) 2001-2021 imacat.
|
Copyright (C) 2001-2022 imacat.
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
|
|||||||
@@ -1889,7 +1889,7 @@ sub open_append : method {
|
|||||||
open STDIN, "<&", $FHT or die "$THIS_FILE: tempfile: $!";
|
open STDIN, "<&", $FHT or die "$THIS_FILE: tempfile: $!";
|
||||||
# Start the process
|
# Start the process
|
||||||
if ($^O eq "MSWin32") {
|
if ($^O eq "MSWin32") {
|
||||||
open $PHT, "$CMD_T |" or die "$THIS_FILE: $CMD_T: $!";
|
open $PHT, "$CMD_T |" or die "$THIS_FILE: $CMD_T: $!";
|
||||||
} else {
|
} else {
|
||||||
open $PHT, "-|", @_ or die "$THIS_FILE: $CMD_T: $!";
|
open $PHT, "-|", @_ or die "$THIS_FILE: $CMD_T: $!";
|
||||||
}
|
}
|
||||||
@@ -2344,7 +2344,7 @@ sub open_append : method {
|
|||||||
open STDIN, "<&", $FHT or die "$THIS_FILE: tempfile: $!";
|
open STDIN, "<&", $FHT or die "$THIS_FILE: tempfile: $!";
|
||||||
# Start the process
|
# Start the process
|
||||||
if ($^O eq "MSWin32") {
|
if ($^O eq "MSWin32") {
|
||||||
open $PHT, "$CMD_T |" or die "$THIS_FILE: $CMD_T: $!";
|
open $PHT, "$CMD_T |" or die "$THIS_FILE: $CMD_T: $!";
|
||||||
} else {
|
} else {
|
||||||
open $PHT, "-|", @_ or die "$THIS_FILE: $CMD_T: $!";
|
open $PHT, "-|", @_ or die "$THIS_FILE: $CMD_T: $!";
|
||||||
}
|
}
|
||||||
@@ -2800,7 +2800,7 @@ sub open_append : method {
|
|||||||
open STDIN, "<&", $FHT or die "$THIS_FILE: tempfile: $!";
|
open STDIN, "<&", $FHT or die "$THIS_FILE: tempfile: $!";
|
||||||
# Start the process
|
# Start the process
|
||||||
if ($^O eq "MSWin32") {
|
if ($^O eq "MSWin32") {
|
||||||
open $PHT, "$CMD_T |" or die "$THIS_FILE: $CMD_T: $!";
|
open $PHT, "$CMD_T |" or die "$THIS_FILE: $CMD_T: $!";
|
||||||
} else {
|
} else {
|
||||||
open $PHT, "-|", @_ or die "$THIS_FILE: $CMD_T: $!";
|
open $PHT, "-|", @_ or die "$THIS_FILE: $CMD_T: $!";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user