},
'IPC::SysV' => {
- 'DISTRIBUTION' => 'MHX/IPC-SysV-2.07.tar.gz',
+ 'DISTRIBUTION' => 'MHX/IPC-SysV-2.08.tar.gz',
'FILES' => q[cpan/IPC-SysV],
'EXCLUDED' => [
qw( const-c.inc
if ($ENV{'PERL_CORE'}) {
# clean out const-* files in the core
- push @moreopts, realclean => { FILES => "const-c.inc const-xs.inc" };
+ push @moreopts, realclean => { FILES => "const-c.inc const-xs.inc" },
+ DEFINE => '-DNO_PPPORT_H';
}
else {
# IPC::SysV is in the core since 5.005
#include "perl.h"
#include "XSUB.h"
-#define NEED_sv_2pv_flags
-#define NEED_sv_pvn_force_flags
-#include "ppport.h"
+#ifndef NO_PPPORT_H
+# define NEED_sv_2pv_flags
+# define NEED_sv_pvn_force_flags
+# include "ppport.h"
+#endif
#include <sys/types.h>
memread(addr, sv, pos, size)
SV *addr
SV *sv
- int pos
- int size
+ UV pos
+ UV size
CODE:
char *caddr = (char *) sv2addr(addr);
char *dst;
memwrite(addr, sv, pos, size)
SV *addr
SV *sv
- int pos
- int size
+ UV pos
+ UV size
CODE:
char *caddr = (char *) sv2addr(addr);
STRLEN len;
use vars qw($VERSION);
use Carp;
-$VERSION = '2.07';
+$VERSION = '2.08';
# Figure out if we have support for native sized types
my $N = do { my $foo = eval { pack "L!", 0 }; $@ ? '' : '!' };
use vars qw($VERSION);
use Carp;
-$VERSION = '2.07';
+$VERSION = '2.08';
# Figure out if we have support for native sized types
my $N = do { my $foo = eval { pack "L!", 0 }; $@ ? '' : '!' };
use vars qw($VERSION);
use Carp;
-$VERSION = '2.07';
+$VERSION = '2.08';
# Figure out if we have support for native sized types
my $N = do { my $foo = eval { pack "L!", 0 }; $@ ? '' : '!' };
require Exporter;
@ISA = qw(Exporter);
-$VERSION = '2.07';
+$VERSION = '2.08';
# To support new constants, just add them to @EXPORT_OK
# and the C/XS code will be generated automagically.
BOOT_XS: {
# If I inherit DynaLoader then I inherit AutoLoader and I DON'T WANT TO
- require DynaLoader;
+ use XSLoader ();
- # DynaLoader calls dl_load_flags as a static method.
- *dl_load_flags = DynaLoader->can('dl_load_flags');
+ XSLoader::load( 'IPC::SysV', $VERSION );
- do {
- __PACKAGE__->can('bootstrap') || \&DynaLoader::bootstrap
- }->(__PACKAGE__, $VERSION);
}
1;
#
################################################################################
+use strict;
+use warnings;
+
+our %Config;
BEGIN {
require Test::More; import Test::More;
require Config; import Config;
# Later the sem* tests will import more for themselves.
use IPC::SysV qw(IPC_PRIVATE IPC_NOWAIT IPC_STAT IPC_RMID S_IRWXU);
-use strict;
{
my $did_diag = 0;
#
################################################################################
+use strict;
+use warnings;
+
+our %Config;
BEGIN {
if ($ENV{'PERL_CORE'}) {
chdir 't' if -d 't';
}
use IPC::SysV qw(IPC_PRIVATE IPC_RMID IPC_NOWAIT IPC_STAT S_IRWXU S_IRWXG S_IRWXO);
-use strict;
use IPC::Msg;
#Creating a message queue
#
################################################################################
+use strict;
+use warnings;
+
+our %Config;
BEGIN {
if ($ENV{'PERL_CORE'}) {
chdir 't' if -d 't';
}
}
-use strict;
-
my @pods;
# find all potential pod files
#
################################################################################
+use strict;
+use warnings;
+
+our %Config;
BEGIN {
if ($ENV{'PERL_CORE'}) {
chdir 't' if -d 't';
}
}
-use strict;
-
my @modules = qw( IPC::SysV IPC::Msg IPC::Semaphore IPC::SharedMem );
eval 'use Pod::Coverage 0.10';
#
################################################################################
+use strict;
+use warnings;
+
+our %Config;
BEGIN {
if ($ENV{'PERL_CORE'}) {
chdir 't' if -d 't';
#
################################################################################
+use strict;
+use warnings;
+
+our %Config;
BEGIN {
if ($ENV{'PERL_CORE'}) {
chdir 't' if -d 't';