From a0c8e3cf5fa0fae52f31f219ff170d986966c18e Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Tue, 11 Mar 2003 11:40:38 +0000 Subject: [PATCH] Upgrade to Time-HiRes 1.43. p4raw-id: //depot/perl@18916 --- ext/Time/HiRes/Changes | 13 +++++++++---- ext/Time/HiRes/HiRes.pm | 2 +- ext/Time/HiRes/Makefile.PL | 2 +- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/ext/Time/HiRes/Changes b/ext/Time/HiRes/Changes index 971e701..d4253c0 100644 --- a/ext/Time/HiRes/Changes +++ b/ext/Time/HiRes/Changes @@ -1,5 +1,10 @@ Revision history for Perl extension Time::HiRes. +1.43 + - add c:/temp to the list of temp directories to probe + so that cygwin (and win*?) builds are happy. This was + needed at least in my cygwin 1.3.20/w2k setup. + 1.42 - modernize the constants code (from Nicholas Clark) @@ -8,10 +13,10 @@ Revision history for Perl extension Time::HiRes. for EXTERN.h (either a core perl build, or an installed perl) had broken (which lead into all test compiles failing with a core perl build, but thanks to the robustness of Makefile.PL - nothing of was visible). The brokenness seemed to be caused - by $ENV{PERL_CORE} not being on for core builds? Now stole - a trick from the Encode that sets $ENV{PERL_CORE} right, and - both styles of build should work again. + nothing of this was visible). The brokenness seemed to be + caused by $ENV{PERL_CORE} not being on for core builds? + Now stole a trick from the Encode that sets $ENV{PERL_CORE} + right, and both styles of build should work again. 1.40 - Nicholas Clark noticed that the my_catdir() emulation function diff --git a/ext/Time/HiRes/HiRes.pm b/ext/Time/HiRes/HiRes.pm index ffa010b..eb4e416 100644 --- a/ext/Time/HiRes/HiRes.pm +++ b/ext/Time/HiRes/HiRes.pm @@ -15,7 +15,7 @@ require DynaLoader; d_usleep d_ualarm d_gettimeofday d_getitimer d_setitimer d_nanosleep); -$VERSION = '1.42'; +$VERSION = '1.43'; $XS_VERSION = $VERSION; $VERSION = eval $VERSION; diff --git a/ext/Time/HiRes/Makefile.PL b/ext/Time/HiRes/Makefile.PL index 50b98ba..2071792 100644 --- a/ext/Time/HiRes/Makefile.PL +++ b/ext/Time/HiRes/Makefile.PL @@ -71,7 +71,7 @@ sub TMPDIR { my $TMPDIR = (grep(defined $_ && -d $_ && -w _, ((defined $ENV{'TMPDIR'} ? $ENV{'TMPDIR'} : undef), - qw(/var/tmp /usr/tmp /tmp))))[0]; + qw(/var/tmp /usr/tmp /tmp c:/temp))))[0]; $TMPDIR || die "Cannot find writable temporary directory.\n"; } -- 2.7.4