mirror of
https://github.com/Perl/perl5.git
synced 2026-01-26 16:39:36 +00:00
File/Copy.pm: Copy file tags on z/OS
This commit is contained in:
parent
45a5ce385b
commit
accbfd5a97
@ -5,7 +5,7 @@
|
||||
# Additions copyright 1996 by Charles Bailey. Permission is granted
|
||||
# to distribute the revised code under the same terms as Perl itself.
|
||||
|
||||
package File::Copy 2.42;
|
||||
package File::Copy 2.43;
|
||||
|
||||
use v5.40;
|
||||
no warnings 'newline';
|
||||
@ -165,6 +165,11 @@ sub copy {
|
||||
$closeto = 1;
|
||||
}
|
||||
|
||||
# Copy file tags on os390
|
||||
if ($^O eq 'os390') {
|
||||
ZOS::Filespec::copytags_fd(fileno($from_h), fileno($to_h));
|
||||
}
|
||||
|
||||
$! = 0;
|
||||
for (;;) {
|
||||
my ($r, $w, $t);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user