Change 22536 by [EMAIL PROTECTED] on 2004/03/19 11:43:35

        Change Storable.xs to conditionally include ppport.h for pre 5.8.0
        This allows the ppport.h to be deleted from ext/Storable, which will
        reduce the potential for confusion.
        Bump Storable's version to 2.12; update the ChangeLog

Affected files ...

... //depot/perl/MANIFEST#1154 edit
... //depot/perl/ext/Storable/ChangeLog#30 edit
... //depot/perl/ext/Storable/MANIFEST#16 edit
... //depot/perl/ext/Storable/README#10 edit
... //depot/perl/ext/Storable/Storable.pm#52 edit
... //depot/perl/ext/Storable/Storable.xs#85 edit
... //depot/perl/ext/Storable/ppport.h#2 delete

Differences ...

==== //depot/perl/MANIFEST#1154 (text) ====
Index: perl/MANIFEST
--- perl/MANIFEST#1153~22533~   Thu Mar 18 18:57:40 2004
+++ perl/MANIFEST       Fri Mar 19 03:43:35 2004
@@ -648,7 +648,6 @@
 ext/Storable/Makefile.PL       Storable extension
 ext/Storable/MANIFEST          Storable extension
 ext/Storable/README            Storable extension
-ext/Storable/ppport.h          Storable extension
 ext/Storable/Storable.pm       Storable extension
 ext/Storable/Storable.xs       Storable extension
 ext/Storable/t/blessed.t       See if Storable works

==== //depot/perl/ext/Storable/ChangeLog#30 (text) ====
Index: perl/ext/Storable/ChangeLog
--- perl/ext/Storable/ChangeLog#29~22516~       Wed Mar 17 08:10:57 2004
+++ perl/ext/Storable/ChangeLog Fri Mar 19 03:43:35 2004
@@ -1,7 +1,10 @@
 Wed Mar 17 15:40:29 GMT 2004   Nicholas Clark <[EMAIL PROTECTED]>
 
+    Version 2.12
+
         1. Add regression tests for the auto-require of STORABLE_thaw
         2. Add auto-require of modules to restore overloading (and tests)
+        3. Change to no context (should give speedup with ithreads)
 
 Sat Mar 13 20:11:03 GMT 2004   Nicholas Clark <[EMAIL PROTECTED]>
        

==== //depot/perl/ext/Storable/MANIFEST#16 (text) ====
Index: perl/ext/Storable/MANIFEST
--- perl/ext/Storable/MANIFEST#15~22533~        Thu Mar 18 18:57:40 2004
+++ perl/ext/Storable/MANIFEST  Fri Mar 19 03:43:35 2004
@@ -5,7 +5,7 @@
 Storable.xs                The C side of Storable
 ChangeLog                  Changes since baseline
 hints/linux.pl             Hint file to drop gcc to -O2
-ppport.h                   Compatibility header
+# ppport.h                 Compatibility header
 t/HAS_HOOK.pm              For auto-requiring of modules for STORABLE_thaw
 t/HAS_OVERLOAD.pm          For auto-requiring of mdoules for overload
 t/blessed.t                See if Storable works

==== //depot/perl/ext/Storable/README#10 (text) ====
Index: perl/ext/Storable/README
--- perl/ext/Storable/README#9~22049~   Sat Jan  3 11:22:08 2004
+++ perl/ext/Storable/README    Fri Mar 19 03:43:35 2004
@@ -1,4 +1,4 @@
-                         Storable 2.09
+                         Storable 2.12
                Copyright (c) 1995-2000, Raphael Manfredi
                Copyright (c) 2001-2004, Larry Wall
 

==== //depot/perl/ext/Storable/Storable.pm#52 (text) ====
Index: perl/ext/Storable/Storable.pm
--- perl/ext/Storable/Storable.pm#51~22498~     Sun Mar 14 04:52:17 2004
+++ perl/ext/Storable/Storable.pm       Fri Mar 19 03:43:35 2004
@@ -21,7 +21,7 @@
 use AutoLoader;
 use vars qw($canonical $forgive_me $VERSION);
 
-$VERSION = '2.11';
+$VERSION = '2.12';
 *AUTOLOAD = \&AutoLoader::AUTOLOAD;            # Grrr...
 
 #

==== //depot/perl/ext/Storable/Storable.xs#85 (text) ====
Index: perl/ext/Storable/Storable.xs
--- perl/ext/Storable/Storable.xs#84~22533~     Thu Mar 18 18:57:40 2004
+++ perl/ext/Storable/Storable.xs       Fri Mar 19 03:43:35 2004
@@ -13,13 +13,15 @@
 #include <perl.h>
 #include <XSUB.h>
 
-#include "ppport.h"             /* handle old perls */
-
 #ifndef PATCHLEVEL
 #    include <patchlevel.h>            /* Perl's one, needed since 5.6 */
 #    if !(defined(PERL_VERSION) || (SUBVERSION > 0 && defined(PATCHLEVEL)))
 #        include <could_not_find_Perl_patchlevel.h>
 #    endif
+#endif
+
+#if PERL_VERSION < 8
+#include "ppport.h"             /* handle old perls */
 #endif
 
 #ifndef NETWARE
End of Patch.

Reply via email to