[Orca-checkins] rev 243 - in trunk/orca: . packages/Time-HiRes-1.48 packages/Time-HiRes-1.49

Blair Zajac blair at orcaware.com
Mon Jul 14 21:14:59 PDT 2003


Author: blair
Date: Mon Jul 14 21:14:56 2003
New Revision: 243

Added:
   trunk/orca/packages/Time-HiRes-1.49/
      - copied from rev 242, trunk/orca/packages/Time-HiRes-1.48/
Removed:
   trunk/orca/packages/Time-HiRes-1.48/
Modified:
   trunk/orca/INSTALL
   trunk/orca/configure.in
   trunk/orca/packages/Time-HiRes-1.49/Changes
   trunk/orca/packages/Time-HiRes-1.49/HiRes.pm
   trunk/orca/packages/Time-HiRes-1.49/HiRes.xs
   trunk/orca/packages/Time-HiRes-1.49/Makefile.PL
Log:
Upgrade Time::HiRes from 1.48 to 1.49.

* INSTALL (Determine which Perl modules need compiling and installing):
  Update all references to Time::HiRes's version number from 1.48 to
  1.49.

* configure.in:
  Bump Time::HiRes's version number to 1.49.

* packages/Time-HiRes-1.49:
  Renamed from packages/Time-HiRes-1.48.  Directory contents updated
  from Time-HiRes-1.49.tar.gz.


Modified: trunk/orca/INSTALL
==============================================================================
--- trunk/orca/INSTALL	(original)
+++ trunk/orca/INSTALL	Mon Jul 14 21:14:56 2003
@@ -177,7 +177,7 @@
     Math::IntervalSearch    >= 1.05        >= 1.05      1.05
     RRDs                    >= 1.000431    >= 1.0.43    1.0.43
     Storable                >= 2.07        >= 2.07      2.07
-    Time::HiRes             Not required by Orca        1.48
+    Time::HiRes             Not required by Orca        1.49
 
     All seven of these modules are included with the Orca distribution
     in the packages directory.  When you configure Orca in step 3),
@@ -278,10 +278,10 @@
 
     Time::HiRes
 
-      http://www.perl.com/CPAN/authors/id/J/JH/JHI/Time-HiRes-1.48.tar.gz
+      http://www.perl.com/CPAN/authors/id/J/JH/JHI/Time-HiRes-1.49.tar.gz
 
-      % gunzip -c Time-HiRes-1.48.tar.gz | tar xvf -
-      % cd Time-HiRes-1.48
+      % gunzip -c Time-HiRes-1.49.tar.gz | tar xvf -
+      % cd Time-HiRes-1.49
       % perl Makefile.PL
       % make
       % make test

Modified: trunk/orca/configure.in
==============================================================================
--- trunk/orca/configure.in	(original)
+++ trunk/orca/configure.in	Mon Jul 14 21:14:56 2003
@@ -41,8 +41,8 @@
 RRDTOOL_VER=1.000431
 STORABLE_DIR=Storable-2.07
 STORABLE_VER=2.07
-TIME_HIRES_DIR=Time-HiRes-1.48
-TIME_HIRES_VER=1.48
+TIME_HIRES_DIR=Time-HiRes-1.49
+TIME_HIRES_VER=1.49
 
 AC_SUBST(COMPRESS_ZLIB_DIR)
 AC_SUBST(DATA_DUMPER_DIR)

Modified: trunk/orca/packages/Time-HiRes-1.49/Changes
==============================================================================
--- trunk/orca/packages/Time-HiRes-1.48/Changes	(original)
+++ trunk/orca/packages/Time-HiRes-1.49/Changes	Mon Jul 14 21:14:56 2003
@@ -1,5 +1,10 @@
 Revision history for Perl extension Time::HiRes.
 
+1.49
+	- UVuf for non-IVSIZE platforms (from Keiichiro Nagano)
+	- OS/2 can always mix subsecond sleeps with signals
+	  (part of perl change #19789)
+
 1.48
 	- workaround for buggy gcc 2.95.3 in openbsd/sparc64
 	  (perl change #19592)

Modified: trunk/orca/packages/Time-HiRes-1.49/HiRes.pm
==============================================================================
--- trunk/orca/packages/Time-HiRes-1.48/HiRes.pm	(original)
+++ trunk/orca/packages/Time-HiRes-1.49/HiRes.pm	Mon Jul 14 21:14:56 2003
@@ -15,7 +15,7 @@
 		 d_usleep d_ualarm d_gettimeofday d_getitimer d_setitimer
 		 d_nanosleep);
 	
-$VERSION = '1.48';
+$VERSION = '1.49';
 $XS_VERSION = $VERSION;
 $VERSION = eval $VERSION;
 

Modified: trunk/orca/packages/Time-HiRes-1.49/HiRes.xs
==============================================================================
--- trunk/orca/packages/Time-HiRes-1.48/HiRes.xs	(original)
+++ trunk/orca/packages/Time-HiRes-1.49/HiRes.xs	Mon Jul 14 21:14:56 2003
@@ -45,6 +45,7 @@
 #       endif
 #   else
 #       define	IVdf	"ld"
+#       define	UVuf	"lu"
 #   endif
 #endif
 

Modified: trunk/orca/packages/Time-HiRes-1.49/Makefile.PL
==============================================================================
--- trunk/orca/packages/Time-HiRes-1.48/Makefile.PL	(original)
+++ trunk/orca/packages/Time-HiRes-1.49/Makefile.PL	Mon Jul 14 21:14:56 2003
@@ -14,6 +14,8 @@
 my $LIBS;
 my $XSOPT;
 
+my $ld_exeext = ($^O eq 'os2' and $Config{ldflags} =~ /-Zexe\b/) ? '.exe' : '';
+
 unless($ENV{PERL_CORE}) {
     $ENV{PERL_CORE} = 1 if grep { $_ eq 'PERL_CORE=1' } @ARGV;
 }
@@ -139,10 +141,11 @@
         }
         else
         {
+	    my $tmp_exe = "$tmp$ld_exeext";
 	    printf "cccmd = $cccmd\n" if $VERBOSE;
-	    system($cccmd);
-	    $ok = -s $tmp && -x _;
-	    unlink("$tmp.c", $tmp);
+	    my $res = system($cccmd);
+	    $ok = defined($res) && $res==0 && -s $tmp_exe && -x _;
+	    unlink("$tmp.c", $tmp_exe);
         }
     }
     
@@ -367,7 +370,8 @@
         print "You can mix subsecond sleeps with signals.\n";
     } else {
 	print "NOT found.\n";
-        print "You cannot mix subsecond sleeps with signals.\n";
+	my $nt = ($^O eq 'os2' ? '' : 'not');
+        print "You can$nt mix subsecond sleeps with signals.\n";
     }
 
     if ($DEFINE) {



More information about the Orca-checkins mailing list