This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Update IPC-SysV to CPAN version 2.03
authorChris 'BinGOs' Williams <chris@bingosnet.co.uk>
Mon, 28 Jun 2010 13:30:25 +0000 (14:30 +0100)
committerChris 'BinGOs' Williams <chris@bingosnet.co.uk>
Mon, 28 Jun 2010 13:30:25 +0000 (14:30 +0100)
  [DELTA]

  2.03 - 2010-05-23

    * fix CPAN #57530: IPC::Msg Documentation Bug
      (thanks to Jonathan Hartzog for spotting this)

  2.02 - 2010-03-07

    * fix CPAN #50762: mistaken use of $[
      (thanks to Zefram for spotting this)
    * no need to specify an empty MAN3PODS in the core anymore
      (thanks to Nicholas Clark for providing a patch)

16 files changed:
Porting/Maintainers.pl
cpan/IPC-SysV/Changes
cpan/IPC-SysV/Makefile.PL
cpan/IPC-SysV/README
cpan/IPC-SysV/SysV.xs
cpan/IPC-SysV/lib/IPC/Msg.pm
cpan/IPC-SysV/lib/IPC/Semaphore.pm
cpan/IPC-SysV/lib/IPC/SharedMem.pm
cpan/IPC-SysV/lib/IPC/SysV.pm
cpan/IPC-SysV/regen.pl
cpan/IPC-SysV/t/ipcsysv.t
cpan/IPC-SysV/t/msg.t
cpan/IPC-SysV/t/pod.t
cpan/IPC-SysV/t/podcov.t
cpan/IPC-SysV/t/sem.t
cpan/IPC-SysV/t/shm.t

index 762e4a2..f630693 100755 (executable)
@@ -762,7 +762,7 @@ use File::Glob qw(:case);
     'IPC::SysV' =>
        {
        'MAINTAINER'    => 'mhx',
-       'DISTRIBUTION'  => 'MHX/IPC-SysV-2.01.tar.gz',
+       'DISTRIBUTION'  => 'MHX/IPC-SysV-2.03.tar.gz',
        'FILES'         => q[cpan/IPC-SysV],
        'EXCLUDED'      => [ qw{const-c.inc const-xs.inc} ],
        'UPSTREAM'      => 'cpan',
index ed60559..692637b 100644 (file)
@@ -1,3 +1,15 @@
+2.03 - 2010-05-23
+
+    * fix CPAN #57530: IPC::Msg Documentation Bug
+      (thanks to Jonathan Hartzog for spotting this)
+
+2.02 - 2010-03-07
+
+    * fix CPAN #50762: mistaken use of $[
+      (thanks to Zefram for spotting this)
+    * no need to specify an empty MAN3PODS in the core anymore
+      (thanks to Nicholas Clark for providing a patch)
+
 2.01 - 2009-03-15
 
     released without changes
index 1cd276c..635c1f6 100644 (file)
@@ -1,12 +1,12 @@
 ################################################################################
 #
-#  $Revision: 18 $
+#  $Revision: 20 $
 #  $Author: mhx $
-#  $Date: 2008/11/26 23:12:58 +0100 $
+#  $Date: 2010/03/07 16:01:41 +0100 $
 #
 ################################################################################
 #
-#  Version 2.x, Copyright (C) 2007, Marcus Holland-Moritz <mhx@cpan.org>.
+#  Version 2.x, Copyright (C) 2007-2010, Marcus Holland-Moritz <mhx@cpan.org>.
 #  Version 1.x, Copyright (C) 1999, Graham Barr <gbarr@pobox.com>.
 #
 #  This program is free software; you can redistribute it and/or
@@ -52,9 +52,8 @@ sub configure
   }
 
   if ($ENV{'PERL_CORE'}) {
-    # Pods will be built by installman.
-    push @moreopts, MAN3PODS  => {},
-                    realclean => { FILES => "const-c.inc const-xs.inc" };
+    # clean out const-* files in the core
+    push @moreopts, realclean => { FILES => "const-c.inc const-xs.inc" };
   }
   else {
     # IPC::SysV is in the core since 5.005
index a9cb7bd..4b34bb3 100644 (file)
@@ -1,4 +1,4 @@
-Version 2.x, Copyright (C) 2007, Marcus Holland-Moritz.
+Version 2.x, Copyright (C) 2007-2010, Marcus Holland-Moritz.
 
 Version 1.x, Copyright (c) 1997, Graham Barr.
 
index 11b4013..afb2c97 100644 (file)
@@ -1,12 +1,12 @@
 /*******************************************************************************
 *
-*  $Revision: 32 $
+*  $Revision: 33 $
 *  $Author: mhx $
-*  $Date: 2008/11/26 23:08:42 +0100 $
+*  $Date: 2010/03/07 16:01:40 +0100 $
 *
 ********************************************************************************
 *
-*  Version 2.x, Copyright (C) 2007, Marcus Holland-Moritz <mhx@cpan.org>.
+*  Version 2.x, Copyright (C) 2007-2010, Marcus Holland-Moritz <mhx@cpan.org>.
 *  Version 1.x, Copyright (C) 1999, Graham Barr <gbarr@pobox.com>.
 *
 *  This program is free software; you can redistribute it and/or
index 4467675..5b9eb07 100644 (file)
@@ -1,12 +1,12 @@
 ################################################################################
 #
-#  $Revision: 17 $
+#  $Revision: 19 $
 #  $Author: mhx $
-#  $Date: 2007/10/15 20:29:06 +0200 $
+#  $Date: 2010/05/23 10:37:46 +0200 $
 #
 ################################################################################
 #
-#  Version 2.x, Copyright (C) 2007, Marcus Holland-Moritz <mhx@cpan.org>.
+#  Version 2.x, Copyright (C) 2007-2010, Marcus Holland-Moritz <mhx@cpan.org>.
 #  Version 1.x, Copyright (C) 1997, Graham Barr <gbarr@pobox.com>.
 #
 #  This program is free software; you can redistribute it and/or
@@ -21,7 +21,7 @@ use strict;
 use vars qw($VERSION);
 use Carp;
 
-$VERSION = do { my @r = '$Snapshot: /IPC-SysV/2.01 $' =~ /(\d+\.\d+(?:_\d+)?)/; @r ? $r[0] : '9.99' };
+$VERSION = do { my @r = '$Snapshot: /IPC-SysV/2.03 $' =~ /(\d+\.\d+(?:_\d+)?)/; @r ? $r[0] : '9.99' };
 $VERSION = eval $VERSION;
 
 # Figure out if we have support for native sized types
@@ -130,9 +130,9 @@ IPC::Msg - SysV Msg IPC object class
 
     $msg = IPC::Msg->new(IPC_PRIVATE, S_IRUSR | S_IWUSR);
 
-    $msg->snd(pack("l! a*",$msgtype,$msg));
+    $msg->snd($msgtype, $msgdata);
 
-    $msg->rcv($buf,256);
+    $msg->rcv($buf, 256);
 
     $ds = $msg->stat;
 
@@ -176,7 +176,7 @@ Returns the system message queue identifier.
 =item rcv ( BUF, LEN [, TYPE [, FLAGS ]] )
 
 Read a message from the queue. Returns the type of the message read.
-See L<msgrcv>.  The  BUF becomes tainted.
+See L<msgrcv>.  The BUF becomes tainted.
 
 =item remove
 
@@ -234,7 +234,7 @@ Marcus Holland-Moritz <mhx@cpan.org>
 
 =head1 COPYRIGHT
 
-Version 2.x, Copyright (C) 2007, Marcus Holland-Moritz.
+Version 2.x, Copyright (C) 2007-2010, Marcus Holland-Moritz.
 
 Version 1.x, Copyright (c) 1997, Graham Barr.
 
index 6f0c251..457b44b 100644 (file)
@@ -1,12 +1,12 @@
 ################################################################################
 #
-#  $Revision: 18 $
+#  $Revision: 19 $
 #  $Author: mhx $
-#  $Date: 2007/10/15 20:29:08 +0200 $
+#  $Date: 2010/03/07 16:01:43 +0100 $
 #
 ################################################################################
 #
-#  Version 2.x, Copyright (C) 2007, Marcus Holland-Moritz <mhx@cpan.org>.
+#  Version 2.x, Copyright (C) 2007-2010, Marcus Holland-Moritz <mhx@cpan.org>.
 #  Version 1.x, Copyright (C) 1997, Graham Barr <gbarr@pobox.com>.
 #
 #  This program is free software; you can redistribute it and/or
@@ -22,7 +22,7 @@ use strict;
 use vars qw($VERSION);
 use Carp;
 
-$VERSION = do { my @r = '$Snapshot: /IPC-SysV/2.01 $' =~ /(\d+\.\d+(?:_\d+)?)/; @r ? $r[0] : '9.99' };
+$VERSION = do { my @r = '$Snapshot: /IPC-SysV/2.03 $' =~ /(\d+\.\d+(?:_\d+)?)/; @r ? $r[0] : '9.99' };
 $VERSION = eval $VERSION;
 
 # Figure out if we have support for native sized types
@@ -309,7 +309,7 @@ Marcus Holland-Moritz <mhx@cpan.org>
 
 =head1 COPYRIGHT
 
-Version 2.x, Copyright (C) 2007, Marcus Holland-Moritz.
+Version 2.x, Copyright (C) 2007-2010, Marcus Holland-Moritz.
 
 Version 1.x, Copyright (c) 1997, Graham Barr.
 
index 06240f2..9c1bde7 100644 (file)
@@ -1,12 +1,12 @@
 ################################################################################
 #
-#  $Revision: 3 $
+#  $Revision: 4 $
 #  $Author: mhx $
-#  $Date: 2008/11/26 23:12:27 +0100 $
+#  $Date: 2010/03/07 16:01:42 +0100 $
 #
 ################################################################################
 #
-#  Version 2.x, Copyright (C) 2007, Marcus Holland-Moritz <mhx@cpan.org>.
+#  Version 2.x, Copyright (C) 2007-2010, Marcus Holland-Moritz <mhx@cpan.org>.
 #  Version 1.x, Copyright (C) 1997, Graham Barr <gbarr@pobox.com>.
 #
 #  This program is free software; you can redistribute it and/or
@@ -21,7 +21,7 @@ use strict;
 use vars qw($VERSION);
 use Carp;
 
-$VERSION = do { my @r = '$Snapshot: /IPC-SysV/2.01 $' =~ /(\d+\.\d+(?:_\d+)?)/; @r ? $r[0] : '9.99' };
+$VERSION = do { my @r = '$Snapshot: /IPC-SysV/2.03 $' =~ /(\d+\.\d+(?:_\d+)?)/; @r ? $r[0] : '9.99' };
 $VERSION = eval $VERSION;
 
 # Figure out if we have support for native sized types
@@ -267,7 +267,7 @@ Marcus Holland-Moritz <mhx@cpan.org>
 
 =head1 COPYRIGHT
 
-Version 2.x, Copyright (C) 2007, Marcus Holland-Moritz.
+Version 2.x, Copyright (C) 2007-2010, Marcus Holland-Moritz.
 
 Version 1.x, Copyright (c) 1997, Graham Barr.
 
index eaa068b..247d199 100644 (file)
@@ -1,12 +1,12 @@
 ################################################################################
 #
-#  $Revision: 24 $
+#  $Revision: 25 $
 #  $Author: mhx $
-#  $Date: 2008/11/28 18:08:10 +0100 $
+#  $Date: 2010/03/07 16:01:43 +0100 $
 #
 ################################################################################
 #
-#  Version 2.x, Copyright (C) 2007, Marcus Holland-Moritz <mhx@cpan.org>.
+#  Version 2.x, Copyright (C) 2007-2010, Marcus Holland-Moritz <mhx@cpan.org>.
 #  Version 1.x, Copyright (C) 1997, Graham Barr <gbarr@pobox.com>.
 #
 #  This program is free software; you can redistribute it and/or
@@ -24,7 +24,7 @@ use Config;
 require Exporter;
 @ISA = qw(Exporter);
 
-$VERSION = do { my @r = '$Snapshot: /IPC-SysV/2.01 $' =~ /(\d+\.\d+(?:_\d+)?)/; @r ? $r[0] : '9.99' };
+$VERSION = do { my @r = '$Snapshot: /IPC-SysV/2.03 $' =~ /(\d+\.\d+(?:_\d+)?)/; @r ? $r[0] : '9.99' };
 $XS_VERSION = $VERSION;
 $VERSION = eval $VERSION;
 
@@ -177,7 +177,7 @@ Marcus Holland-Moritz <mhx@cpan.org>
 
 =head1 COPYRIGHT
 
-Version 2.x, Copyright (C) 2007, Marcus Holland-Moritz.
+Version 2.x, Copyright (C) 2007-2010, Marcus Holland-Moritz.
 
 Version 1.x, Copyright (c) 1997, Graham Barr.
 
index 7769912..3d709a5 100644 (file)
@@ -28,7 +28,7 @@ sub make_constants
     my @outdated = grep { (-M) > $depage } @files;
     my @newdeps = grep { (-M) < $oldage } @deps;
 
-    print STDERR <<EOM;
+    print STDERR <<EOM if @outdated;
 
 ***********************************************************************
 
@@ -85,7 +85,7 @@ EOM
 
   if ($@) {
     my $err = "Cannot regenerate constants:\n$@\n";
-    if ($[ < 5.006) {
+    if ($] < 5.006) {
       print STDERR $err;
       exit 0;
     }
index 8c16785..b54dad1 100644 (file)
@@ -1,12 +1,12 @@
 ################################################################################
 #
-#  $Revision: 13 $
+#  $Revision: 15 $
 #  $Author: mhx $
-#  $Date: 2008/11/28 18:08:11 +0100 $
+#  $Date: 2010/03/07 16:53:32 +0100 $
 #
 ################################################################################
 #
-#  Version 2.x, Copyright (C) 2007, Marcus Holland-Moritz <mhx@cpan.org>.
+#  Version 2.x, Copyright (C) 2007-2010, Marcus Holland-Moritz <mhx@cpan.org>.
 #  Version 1.x, Copyright (C) 1999, Graham Barr <gbarr@pobox.com>.
 #
 #  This program is free software; you can redistribute it and/or
index 32dd9ff..d288309 100644 (file)
@@ -1,12 +1,12 @@
 ################################################################################
 #
-#  $Revision: 11 $
+#  $Revision: 12 $
 #  $Author: mhx $
-#  $Date: 2008/11/28 18:08:11 +0100 $
+#  $Date: 2010/03/07 16:01:42 +0100 $
 #
 ################################################################################
 #
-#  Version 2.x, Copyright (C) 2007, Marcus Holland-Moritz <mhx@cpan.org>.
+#  Version 2.x, Copyright (C) 2007-2010, Marcus Holland-Moritz <mhx@cpan.org>.
 #  Version 1.x, Copyright (C) 1999, Graham Barr <gbarr@pobox.com>.
 #
 #  This program is free software; you can redistribute it and/or
index f9beefc..1defb1f 100644 (file)
@@ -1,12 +1,12 @@
 ################################################################################
 #
-#  $Revision: 3 $
+#  $Revision: 4 $
 #  $Author: mhx $
-#  $Date: 2007/10/13 19:07:53 +0200 $
+#  $Date: 2010/03/07 16:01:42 +0100 $
 #
 ################################################################################
 #
-#  Version 2.x, Copyright (C) 2007, Marcus Holland-Moritz <mhx@cpan.org>.
+#  Version 2.x, Copyright (C) 2007-2010, Marcus Holland-Moritz <mhx@cpan.org>.
 #  Version 1.x, Copyright (C) 1999, Graham Barr <gbarr@pobox.com>.
 #
 #  This program is free software; you can redistribute it and/or
index f607059..100984e 100644 (file)
@@ -1,12 +1,12 @@
 ################################################################################
 #
-#  $Revision: 2 $
+#  $Revision: 3 $
 #  $Author: mhx $
-#  $Date: 2007/10/14 05:39:15 +0200 $
+#  $Date: 2010/03/07 16:01:41 +0100 $
 #
 ################################################################################
 #
-#  Version 2.x, Copyright (C) 2007, Marcus Holland-Moritz <mhx@cpan.org>.
+#  Version 2.x, Copyright (C) 2007-2010, Marcus Holland-Moritz <mhx@cpan.org>.
 #  Version 1.x, Copyright (C) 1999, Graham Barr <gbarr@pobox.com>.
 #
 #  This program is free software; you can redistribute it and/or
index 60fd039..e982d68 100644 (file)
@@ -1,12 +1,12 @@
 ################################################################################
 #
-#  $Revision: 15 $
+#  $Revision: 16 $
 #  $Author: mhx $
-#  $Date: 2008/11/28 18:08:11 +0100 $
+#  $Date: 2010/03/07 16:01:42 +0100 $
 #
 ################################################################################
 #
-#  Version 2.x, Copyright (C) 2007, Marcus Holland-Moritz <mhx@cpan.org>.
+#  Version 2.x, Copyright (C) 2007-2010, Marcus Holland-Moritz <mhx@cpan.org>.
 #  Version 1.x, Copyright (C) 1999, Graham Barr <gbarr@pobox.com>.
 #
 #  This program is free software; you can redistribute it and/or
index f38f88e..f108795 100644 (file)
@@ -1,12 +1,12 @@
 ################################################################################
 #
-#  $Revision: 5 $
+#  $Revision: 6 $
 #  $Author: mhx $
-#  $Date: 2008/11/28 18:08:11 +0100 $
+#  $Date: 2010/03/07 16:01:42 +0100 $
 #
 ################################################################################
 #
-#  Version 2.x, Copyright (C) 2007, Marcus Holland-Moritz <mhx@cpan.org>.
+#  Version 2.x, Copyright (C) 2007-2010, Marcus Holland-Moritz <mhx@cpan.org>.
 #  Version 1.x, Copyright (C) 1999, Graham Barr <gbarr@pobox.com>.
 #
 #  This program is free software; you can redistribute it and/or