+2.00_02 - 2008-11-28
+
+ * check for ENOMEM and EACCES and skip tests as neccessary
+
2.00_01 - 2008-11-26
* remove const-* when building in the core
use vars qw($VERSION);
use Carp;
-$VERSION = do { my @r = '$Snapshot: /IPC-SysV/2.00_01 $' =~ /(\d+\.\d+(?:_\d+)?)/; @r ? $r[0] : '9.99' };
+$VERSION = do { my @r = '$Snapshot: /IPC-SysV/2.00_02 $' =~ /(\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_01 $' =~ /(\d+\.\d+(?:_\d+)?)/; @r ? $r[0] : '9.99' };
+$VERSION = do { my @r = '$Snapshot: /IPC-SysV/2.00_02 $' =~ /(\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_01 $' =~ /(\d+\.\d+(?:_\d+)?)/; @r ? $r[0] : '9.99' };
+$VERSION = do { my @r = '$Snapshot: /IPC-SysV/2.00_02 $' =~ /(\d+\.\d+(?:_\d+)?)/; @r ? $r[0] : '9.99' };
$VERSION = eval $VERSION;
# Figure out if we have support for native sized types
################################################################################
#
-# $Revision: 23 $
+# $Revision: 24 $
# $Author: mhx $
-# $Date: 2007/10/19 20:46:32 +0200 $
+# $Date: 2008/11/28 18:08:10 +0100 $
#
################################################################################
#
require Exporter;
@ISA = qw(Exporter);
-$VERSION = do { my @r = '$Snapshot: /IPC-SysV/2.00_01 $' =~ /(\d+\.\d+(?:_\d+)?)/; @r ? $r[0] : '9.99' };
+$VERSION = do { my @r = '$Snapshot: /IPC-SysV/2.00_02 $' =~ /(\d+\.\d+(?:_\d+)?)/; @r ? $r[0] : '9.99' };
$XS_VERSION = $VERSION;
$VERSION = eval $VERSION;
S_IRGRP S_IWGRP S_IXGRP S_IRWXG
S_IROTH S_IWOTH S_IXOTH S_IRWXO
- ENOSPC ENOSYS
+ ENOSPC ENOSYS ENOMEM EACCES
), qw(
################################################################################
#
-# $Revision: 12 $
+# $Revision: 13 $
# $Author: mhx $
-# $Date: 2007/10/22 13:10:22 +0200 $
+# $Date: 2008/11/28 18:08:11 +0100 $
#
################################################################################
#
return "$what failed: SIGSYS caught";
}
my $info = "$what failed: $why";
- if ($why == &IPC::SysV::ENOSPC || $why == &IPC::SysV::ENOSYS) {
+ if ($why == &IPC::SysV::ENOSPC || $why == &IPC::SysV::ENOSYS ||
+ $why == &IPC::SysV::ENOMEM || $why == &IPC::SysV::EACCES) {
do_sys_diag() if $why == &IPC::SysV::ENOSYS;
return $info;
}
################################################################################
#
-# $Revision: 10 $
+# $Revision: 11 $
# $Author: mhx $
-# $Date: 2007/10/22 13:10:24 +0200 $
+# $Date: 2008/11/28 18:08:11 +0100 $
#
################################################################################
#
unless (defined $msq) {
my $info = "IPC::Msg->new failed: $!";
- if ($! == &IPC::SysV::ENOSPC || $! == &IPC::SysV::ENOSYS) {
+ if ($! == &IPC::SysV::ENOSPC || $! == &IPC::SysV::ENOSYS ||
+ $! == &IPC::SysV::ENOMEM || $! == &IPC::SysV::EACCES) {
plan(skip_all => $info);
}
else {
################################################################################
#
-# $Revision: 14 $
+# $Revision: 15 $
# $Author: mhx $
-# $Date: 2007/10/22 13:10:24 +0200 $
+# $Date: 2008/11/28 18:08:11 +0100 $
#
################################################################################
#
unless (defined $sem) {
my $info = "IPC::Semaphore->new failed: $!";
- if ($! == &IPC::SysV::ENOSPC || $! == &IPC::SysV::ENOSYS) {
+ if ($! == &IPC::SysV::ENOSPC || $! == &IPC::SysV::ENOSYS ||
+ $! == &IPC::SysV::ENOMEM || $! == &IPC::SysV::EACCES) {
plan(skip_all => $info);
}
else {
################################################################################
#
-# $Revision: 4 $
+# $Revision: 5 $
# $Author: mhx $
-# $Date: 2007/10/22 13:10:24 +0200 $
+# $Date: 2008/11/28 18:08:11 +0100 $
#
################################################################################
#
unless (defined $shm) {
my $info = "IPC::SharedMem->new failed: $!";
- if ($! == &IPC::SysV::ENOSPC || $! == &IPC::SysV::ENOSYS) {
+ if ($! == &IPC::SysV::ENOSPC || $! == &IPC::SysV::ENOSYS ||
+ $! == &IPC::SysV::ENOMEM || $! == &IPC::SysV::EACCES) {
plan(skip_all => $info);
}
else {