diff options
author | Marcus Holland-Moritz <mhx-perl@gmx.net> | 2007-12-30 02:48:25 +0000 |
---|---|---|
committer | Marcus Holland-Moritz <mhx-perl@gmx.net> | 2007-12-30 02:48:25 +0000 |
commit | a7c93bfc3dfadc59dadf5215a34100cfb5369ade (patch) | |
tree | 0d5f214f49f196e87fdbf7c88e5cac13acd325b4 /ext/IPC | |
parent | 50baa5ea2240b5b5f0f2d876ef7d68fbb74f49e4 (diff) | |
download | perl-a7c93bfc3dfadc59dadf5215a34100cfb5369ade.tar.gz |
Upgrade to IPC::SysV 2.00
p4raw-id: //depot/perl@32780
Diffstat (limited to 'ext/IPC')
-rw-r--r-- | ext/IPC/SysV/Changes | 5 | ||||
-rw-r--r-- | ext/IPC/SysV/Makefile.PL | 6 | ||||
-rw-r--r-- | ext/IPC/SysV/SysV.xs | 8 | ||||
-rw-r--r-- | ext/IPC/SysV/lib/IPC/Msg.pm | 2 | ||||
-rw-r--r-- | ext/IPC/SysV/lib/IPC/Semaphore.pm | 2 | ||||
-rw-r--r-- | ext/IPC/SysV/lib/IPC/SharedMem.pm | 2 | ||||
-rw-r--r-- | ext/IPC/SysV/lib/IPC/SysV.pm | 2 |
7 files changed, 16 insertions, 11 deletions
diff --git a/ext/IPC/SysV/Changes b/ext/IPC/SysV/Changes index 29a7511c5c..968fd2254b 100644 --- a/ext/IPC/SysV/Changes +++ b/ext/IPC/SysV/Changes @@ -1,3 +1,8 @@ +2.00 - 2007-12-30 + + * fixed compilation issues with C++ compiler + * ignore .swp files in when scanning lib directory + 1.99_07 - 2007-10-22 * terminate Makefile.PL on MSWin32 with a message that the diff --git a/ext/IPC/SysV/Makefile.PL b/ext/IPC/SysV/Makefile.PL index 8b1326692f..56a91d94f7 100644 --- a/ext/IPC/SysV/Makefile.PL +++ b/ext/IPC/SysV/Makefile.PL @@ -1,8 +1,8 @@ ################################################################################ # -# $Revision: 14 $ +# $Revision: 15 $ # $Author: mhx $ -# $Date: 2007/10/22 13:14:21 +0200 $ +# $Date: 2007/12/22 17:39:55 +0100 $ # ################################################################################ # @@ -76,7 +76,7 @@ sub configure sub MY::libscan { my($self, $path) = @_; - return '' if $path =~ m! /(RCS|CVS|SCCS)/ | [~%]$ | \.(orig|rej)$ !x; + return '' if $path =~ m! /(RCS|CVS|SCCS)/ | [~%]$ | \.(swp|orig|rej)$ !x; $path; } diff --git a/ext/IPC/SysV/SysV.xs b/ext/IPC/SysV/SysV.xs index 17571a7d99..ffa0b0e88f 100644 --- a/ext/IPC/SysV/SysV.xs +++ b/ext/IPC/SysV/SysV.xs @@ -1,8 +1,8 @@ /******************************************************************************* * -* $Revision: 30 $ +* $Revision: 31 $ * $Author: mhx $ -* $Date: 2007/10/18 19:57:29 +0200 $ +* $Date: 2007/12/29 19:46:18 +0100 $ * ******************************************************************************** * @@ -347,7 +347,7 @@ memread(addr, sv, pos, size) int pos int size CODE: - char *caddr = sv2addr(addr); + char *caddr = (char *) sv2addr(addr); char *dst; if (!SvOK(sv)) { @@ -372,7 +372,7 @@ memwrite(addr, sv, pos, size) int pos int size CODE: - char *caddr = sv2addr(addr); + char *caddr = (char *) sv2addr(addr); STRLEN len; const char *src = SvPV_const(sv, len); int n = ((int) len > size) ? size : (int) len; diff --git a/ext/IPC/SysV/lib/IPC/Msg.pm b/ext/IPC/SysV/lib/IPC/Msg.pm index cef85e8f05..2128af9dd4 100644 --- a/ext/IPC/SysV/lib/IPC/Msg.pm +++ b/ext/IPC/SysV/lib/IPC/Msg.pm @@ -21,7 +21,7 @@ use strict; use vars qw($VERSION); use Carp; -$VERSION = do { my @r = '$Snapshot: /IPC-SysV/1.99_07 $' =~ /(\d+\.\d+(?:_\d+)?)/; @r ? $r[0] : '9.99' }; +$VERSION = do { my @r = '$Snapshot: /IPC-SysV/2.00 $' =~ /(\d+\.\d+(?:_\d+)?)/; @r ? $r[0] : '9.99' }; $VERSION = eval $VERSION; # Figure out if we have support for native sized types diff --git a/ext/IPC/SysV/lib/IPC/Semaphore.pm b/ext/IPC/SysV/lib/IPC/Semaphore.pm index 3b81f1a062..29a3cbe9c2 100644 --- a/ext/IPC/SysV/lib/IPC/Semaphore.pm +++ b/ext/IPC/SysV/lib/IPC/Semaphore.pm @@ -22,7 +22,7 @@ use strict; use vars qw($VERSION); use Carp; -$VERSION = do { my @r = '$Snapshot: /IPC-SysV/1.99_07 $' =~ /(\d+\.\d+(?:_\d+)?)/; @r ? $r[0] : '9.99' }; +$VERSION = do { my @r = '$Snapshot: /IPC-SysV/2.00 $' =~ /(\d+\.\d+(?:_\d+)?)/; @r ? $r[0] : '9.99' }; $VERSION = eval $VERSION; # Figure out if we have support for native sized types diff --git a/ext/IPC/SysV/lib/IPC/SharedMem.pm b/ext/IPC/SysV/lib/IPC/SharedMem.pm index d4c8a5ac63..0f58f1af20 100644 --- a/ext/IPC/SysV/lib/IPC/SharedMem.pm +++ b/ext/IPC/SysV/lib/IPC/SharedMem.pm @@ -21,7 +21,7 @@ use strict; use vars qw($VERSION); use Carp; -$VERSION = do { my @r = '$Snapshot: /IPC-SysV/1.99_07 $' =~ /(\d+\.\d+(?:_\d+)?)/; @r ? $r[0] : '9.99' }; +$VERSION = do { my @r = '$Snapshot: /IPC-SysV/2.00 $' =~ /(\d+\.\d+(?:_\d+)?)/; @r ? $r[0] : '9.99' }; $VERSION = eval $VERSION; # Figure out if we have support for native sized types diff --git a/ext/IPC/SysV/lib/IPC/SysV.pm b/ext/IPC/SysV/lib/IPC/SysV.pm index 67eacaa96f..4005e28696 100644 --- a/ext/IPC/SysV/lib/IPC/SysV.pm +++ b/ext/IPC/SysV/lib/IPC/SysV.pm @@ -24,7 +24,7 @@ use Config; require Exporter; @ISA = qw(Exporter); -$VERSION = do { my @r = '$Snapshot: /IPC-SysV/1.99_07 $' =~ /(\d+\.\d+(?:_\d+)?)/; @r ? $r[0] : '9.99' }; +$VERSION = do { my @r = '$Snapshot: /IPC-SysV/2.00 $' =~ /(\d+\.\d+(?:_\d+)?)/; @r ? $r[0] : '9.99' }; $XS_VERSION = $VERSION; $VERSION = eval $VERSION; |