Skip to content

Commit

Permalink
Fix for undefined warning in IO
Browse files Browse the repository at this point in the history
Fixes #18238 - Bumped version to 1.48 for release to CPAN
  • Loading branch information
toddr committed Sep 1, 2021
1 parent 3c2792c commit cab7765
Show file tree
Hide file tree
Showing 12 changed files with 23 additions and 12 deletions.
11 changes: 11 additions & 0 deletions dist/IO/ChangeLog
@@ -1,3 +1,14 @@
IO 1.48
* Fix for undefined warning in GH #18238

IO 1.47
* Implement sync() for win32
* Add missing quotes to IO::Socket::INET example

IO 1.46
* style: Detabify indentation of the C code maintained by the core.
* Update search.cpan.org URLs

IO 1.45
* Put IO::Socket constructor error messages in $IO::Socket::errstr as well
as $@, to encourage better practices
Expand Down
2 changes: 1 addition & 1 deletion dist/IO/IO.pm
Expand Up @@ -7,7 +7,7 @@ use Carp;
use strict;
use warnings;

our $VERSION = "1.47";
our $VERSION = "1.48";
XSLoader::load 'IO', $VERSION;

sub import {
Expand Down
2 changes: 1 addition & 1 deletion dist/IO/lib/IO/Dir.pm
Expand Up @@ -18,7 +18,7 @@ use File::stat;
use File::Spec;

our @ISA = qw(Tie::Hash Exporter);
our $VERSION = "1.47";
our $VERSION = "1.48";

our @EXPORT_OK = qw(DIR_UNLINK);

Expand Down
2 changes: 1 addition & 1 deletion dist/IO/lib/IO/File.pm
Expand Up @@ -135,7 +135,7 @@ require Exporter;

our @ISA = qw(IO::Handle IO::Seekable Exporter);

our $VERSION = "1.47";
our $VERSION = "1.48";

our @EXPORT = @IO::Seekable::EXPORT;

Expand Down
2 changes: 1 addition & 1 deletion dist/IO/lib/IO/Handle.pm
Expand Up @@ -270,7 +270,7 @@ use IO (); # Load the XS module
require Exporter;
our @ISA = qw(Exporter);

our $VERSION = "1.47";
our $VERSION = "1.48";

our @EXPORT_OK = qw(
autoflush
Expand Down
2 changes: 1 addition & 1 deletion dist/IO/lib/IO/Pipe.pm
Expand Up @@ -13,7 +13,7 @@ use strict;
use Carp;
use Symbol;

our $VERSION = "1.47";
our $VERSION = "1.48";

sub new {
my $type = shift;
Expand Down
2 changes: 1 addition & 1 deletion dist/IO/lib/IO/Poll.pm
Expand Up @@ -12,7 +12,7 @@ use IO::Handle;
use Exporter ();

our @ISA = qw(Exporter);
our $VERSION = "1.47";
our $VERSION = "1.48";

our @EXPORT = qw( POLLIN
POLLOUT
Expand Down
2 changes: 1 addition & 1 deletion dist/IO/lib/IO/Seekable.pm
Expand Up @@ -106,7 +106,7 @@ require Exporter;
our @EXPORT = qw(SEEK_SET SEEK_CUR SEEK_END);
our @ISA = qw(Exporter);

our $VERSION = "1.47";
our $VERSION = "1.48";

sub seek {
@_ == 3 or croak 'usage: $io->seek(POS, WHENCE)';
Expand Down
4 changes: 2 additions & 2 deletions dist/IO/lib/IO/Select.pm
Expand Up @@ -10,7 +10,7 @@ use strict;
use warnings::register;
require Exporter;

our $VERSION = "1.47";
our $VERSION = "1.48";

our @ISA = qw(Exporter); # This is only so we can do version checking

Expand Down Expand Up @@ -68,7 +68,7 @@ sub _fileno
# previously registered and has since been closed. ->remove still wants to
# know what fileno it had
foreach my $i ( FIRST_FD .. $#$self ) {
return $i - FIRST_FD if $self->[$i] == $f;
return $i - FIRST_FD if defined $self->[$i] && $self->[$i] == $f;
}
return undef;
}
Expand Down
2 changes: 1 addition & 1 deletion dist/IO/lib/IO/Socket.pm
Expand Up @@ -23,7 +23,7 @@ require IO::Socket::UNIX if ($^O ne 'epoc' && $^O ne 'symbian');

our @ISA = qw(IO::Handle);

our $VERSION = "1.47";
our $VERSION = "1.48";

our @EXPORT_OK = qw(sockatmark);

Expand Down
2 changes: 1 addition & 1 deletion dist/IO/lib/IO/Socket/INET.pm
Expand Up @@ -14,7 +14,7 @@ use Exporter;
use Errno;

our @ISA = qw(IO::Socket);
our $VERSION = "1.47";
our $VERSION = "1.48";

my $EINVAL = exists(&Errno::EINVAL) ? Errno::EINVAL() : 1;

Expand Down
2 changes: 1 addition & 1 deletion dist/IO/lib/IO/Socket/UNIX.pm
Expand Up @@ -11,7 +11,7 @@ use IO::Socket;
use Carp;

our @ISA = qw(IO::Socket);
our $VERSION = "1.47";
our $VERSION = "1.48";

IO::Socket::UNIX->register_domain( AF_UNIX );

Expand Down

0 comments on commit cab7765

Please sign in to comment.