+2.00_01 - 2008-11-26
+
+ * remove const-* when building in the core
+ * inherit libscan behaviour from EU::MM
+ * integrate #33084 from blead
+ * try to make Win32 report NA instead of FAIL
+ * fix bug in IPC::SharedMem constructor returning undef when
+ shared memory id == 0 (thanks to Antonio Jose Coutinho for
+ spotting this)
+
2.00 - 2007-12-30
* fixed compilation issues with C++ compiler
################################################################################
#
-# $Revision: 16 $
+# $Revision: 18 $
# $Author: mhx $
-# $Date: 2008/01/05 16:41:20 +0100 $
+# $Date: 2008/11/26 23:12:58 +0100 $
#
################################################################################
#
}
if ($^O eq 'MSWin32') {
- my $msg = "The IPC::SysV module cannot be built on the $^O platform.";
- my $str = '*' x length $msg;
- die "\n$str\n$msg\n$str\n\n";
+ die "OS unsupported\n";
}
WriteMakefile(
/*******************************************************************************
*
-* $Revision: 31 $
+* $Revision: 32 $
* $Author: mhx $
-* $Date: 2007/12/29 19:46:18 +0100 $
+* $Date: 2008/11/26 23:08:42 +0100 $
*
********************************************************************************
*
use vars qw($VERSION);
use Carp;
-$VERSION = do { my @r = '$Snapshot: /IPC-SysV/2.00 $' =~ /(\d+\.\d+(?:_\d+)?)/; @r ? $r[0] : '9.99' };
+$VERSION = do { my @r = '$Snapshot: /IPC-SysV/2.00_01 $' =~ /(\d+\.\d+(?:_\d+)?)/; @r ? $r[0] : '9.99' };
$VERSION = eval $VERSION;
# Figure out if we have support for native sized types
use vars qw($VERSION);
use Carp;
-$VERSION = do { my @r = '$Snapshot: /IPC-SysV/2.00 $' =~ /(\d+\.\d+(?:_\d+)?)/; @r ? $r[0] : '9.99' };
+$VERSION = do { my @r = '$Snapshot: /IPC-SysV/2.00_01 $' =~ /(\d+\.\d+(?:_\d+)?)/; @r ? $r[0] : '9.99' };
$VERSION = eval $VERSION;
# Figure out if we have support for native sized types
################################################################################
#
-# $Revision: 2 $
+# $Revision: 3 $
# $Author: mhx $
-# $Date: 2007/10/14 05:16:08 +0200 $
+# $Date: 2008/11/26 23:12:27 +0100 $
#
################################################################################
#
use vars qw($VERSION);
use Carp;
-$VERSION = do { my @r = '$Snapshot: /IPC-SysV/2.00 $' =~ /(\d+\.\d+(?:_\d+)?)/; @r ? $r[0] : '9.99' };
+$VERSION = do { my @r = '$Snapshot: /IPC-SysV/2.00_01 $' =~ /(\d+\.\d+(?:_\d+)?)/; @r ? $r[0] : '9.99' };
$VERSION = eval $VERSION;
# Figure out if we have support for native sized types
@_ == 4 or croak 'IPC::SharedMem->new(KEY, SIZE, FLAGS)';
my($class, $key, $size, $flags) = @_;
- my $id = shmget $key, $size, $flags or return undef;
+ my $id = shmget $key, $size, $flags;
+
+ return undef unless defined $id;
bless { _id => $id, _addr => undef, _isrm => 0 }, $class
}
require Exporter;
@ISA = qw(Exporter);
-$VERSION = do { my @r = '$Snapshot: /IPC-SysV/2.00 $' =~ /(\d+\.\d+(?:_\d+)?)/; @r ? $r[0] : '9.99' };
+$VERSION = do { my @r = '$Snapshot: /IPC-SysV/2.00_01 $' =~ /(\d+\.\d+(?:_\d+)?)/; @r ? $r[0] : '9.99' };
$XS_VERSION = $VERSION;
$VERSION = eval $VERSION;