Rename ext/Time/HiRes to ext/Time-HiRes
Nicholas Clark [Mon, 9 Feb 2009 20:08:32 +0000 (20:08 +0000)]
23 files changed:
INSTALL
MANIFEST
Porting/Maintainers.pl
README.cygwin
ext/Time-HiRes/.gitignore [moved from ext/Time/HiRes/.gitignore with 100% similarity]
ext/Time-HiRes/Changes [moved from ext/Time/HiRes/Changes with 100% similarity]
ext/Time-HiRes/HiRes.pm [moved from ext/Time/HiRes/HiRes.pm with 100% similarity]
ext/Time-HiRes/HiRes.xs [moved from ext/Time/HiRes/HiRes.xs with 100% similarity]
ext/Time-HiRes/Makefile.PL [moved from ext/Time/HiRes/Makefile.PL with 99% similarity]
ext/Time-HiRes/fallback/const-c.inc [moved from ext/Time/HiRes/fallback/const-c.inc with 100% similarity]
ext/Time-HiRes/fallback/const-xs.inc [moved from ext/Time/HiRes/fallback/const-xs.inc with 100% similarity]
ext/Time-HiRes/hints/aix.pl [moved from ext/Time/HiRes/hints/aix.pl with 100% similarity]
ext/Time-HiRes/hints/dec_osf.pl [moved from ext/Time/HiRes/hints/dec_osf.pl with 100% similarity]
ext/Time-HiRes/hints/dynixptx.pl [moved from ext/Time/HiRes/hints/dynixptx.pl with 100% similarity]
ext/Time-HiRes/hints/irix.pl [moved from ext/Time/HiRes/hints/irix.pl with 100% similarity]
ext/Time-HiRes/hints/linux.pl [moved from ext/Time/HiRes/hints/linux.pl with 100% similarity]
ext/Time-HiRes/hints/sco.pl [moved from ext/Time/HiRes/hints/sco.pl with 100% similarity]
ext/Time-HiRes/hints/solaris.pl [moved from ext/Time/HiRes/hints/solaris.pl with 100% similarity]
ext/Time-HiRes/hints/svr4.pl [moved from ext/Time/HiRes/hints/svr4.pl with 100% similarity]
ext/Time-HiRes/t/HiRes.t [moved from ext/Time/HiRes/t/HiRes.t with 100% similarity]
ext/Time-HiRes/typemap [moved from ext/Time/HiRes/typemap with 100% similarity]
mkppport.lst
util.c

diff --git a/INSTALL b/INSTALL
index 88525b9..9e02990 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -1860,7 +1860,7 @@ If your system is quite busy and doesn't respond quickly enough,
 these tests might fail.  If possible, try running the tests again
 with the system under a lighter load.  These timing-sensitive
 and load-sensitive tests include F<t/op/alarm.t>,
-F<ext/Time/HiRes/t/HiRes.t>, F<ext/threads/shared/t/waithires.t>,
+F<ext/Time-HiRes/t/HiRes.t>, F<ext/threads/shared/t/waithires.t>,
 F<ext/threads/shared/t/stress.t>, F<lib/Benchmark.t>,
 F<lib/Memoize/t/expmod_t.t>, and F<lib/Memoize/t/speed.t>.
 
index 260ce2e..00cf122 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -1352,22 +1352,22 @@ ext/threads/t/stress_cv.t       Test with multiple threads, coderef cv argument.
 ext/threads/t/stress_re.t      Test with multiple threads, string cv argument and regexes.
 ext/threads/t/stress_string.t  Test with multiple threads, string cv argument.
 ext/threads/t/thread.t         General ithread tests from thr5005
-ext/Time/HiRes/Changes         Time::HiRes extension
-ext/Time/HiRes/fallback/const-c.inc    Time::HiRes extension
-ext/Time/HiRes/fallback/const-xs.inc   Time::HiRes extension
-ext/Time/HiRes/hints/aix.pl    Hint for Time::HiRes for named architecture
-ext/Time/HiRes/hints/dec_osf.pl                Hint for Time::HiRes for named architecture
-ext/Time/HiRes/hints/dynixptx.pl       Hint for Time::HiRes for named architecture
-ext/Time/HiRes/hints/irix.pl   Hint for Time::HiRes for named architecture
-ext/Time/HiRes/hints/linux.pl  Hints for Time::HiRes for named architecture
-ext/Time/HiRes/hints/sco.pl    Hints for Time::HiRes for named architecture
-ext/Time/HiRes/hints/solaris.pl        Hints for Time::HiRes for named architecture
-ext/Time/HiRes/hints/svr4.pl   Hints for Time::HiRes for named architecture
-ext/Time/HiRes/HiRes.pm                Time::HiRes extension
-ext/Time/HiRes/HiRes.xs                Time::HiRes extension
-ext/Time/HiRes/Makefile.PL     Time::HiRes extension
-ext/Time/HiRes/t/HiRes.t       Test for Time::HiRes
-ext/Time/HiRes/typemap         Time::HiRes extension
+ext/Time-HiRes/Changes         Time::HiRes extension
+ext/Time-HiRes/fallback/const-c.inc    Time::HiRes extension
+ext/Time-HiRes/fallback/const-xs.inc   Time::HiRes extension
+ext/Time-HiRes/hints/aix.pl    Hint for Time::HiRes for named architecture
+ext/Time-HiRes/hints/dec_osf.pl                Hint for Time::HiRes for named architecture
+ext/Time-HiRes/hints/dynixptx.pl       Hint for Time::HiRes for named architecture
+ext/Time-HiRes/hints/irix.pl   Hint for Time::HiRes for named architecture
+ext/Time-HiRes/hints/linux.pl  Hints for Time::HiRes for named architecture
+ext/Time-HiRes/hints/sco.pl    Hints for Time::HiRes for named architecture
+ext/Time-HiRes/hints/solaris.pl        Hints for Time::HiRes for named architecture
+ext/Time-HiRes/hints/svr4.pl   Hints for Time::HiRes for named architecture
+ext/Time-HiRes/HiRes.pm                Time::HiRes extension
+ext/Time-HiRes/HiRes.xs                Time::HiRes extension
+ext/Time-HiRes/Makefile.PL     Time::HiRes extension
+ext/Time-HiRes/t/HiRes.t       Test for Time::HiRes
+ext/Time-HiRes/typemap         Time::HiRes extension
 ext/Time/Piece/Changes         Time::Piece extension
 ext/Time/Piece/Makefile.PL     Time::Piece extension
 ext/Time/Piece/Piece.pm                Time::Piece extension
index bf12d5c..42a5c45 100644 (file)
@@ -1085,7 +1085,7 @@ package Maintainers;
        'Time::HiRes' =>
                {
                'MAINTAINER'    => 'zefram',
-               'FILES'         => q[ext/Time/HiRes],
+               'FILES'         => q[ext/Time-HiRes],
                'CPAN'          => 1,
                'UPSTREAM'      => undef,
                },
index b53e99a..231d947 100644 (file)
@@ -568,7 +568,7 @@ be kept as clean as possible.
   Porting/checkAUTHORS.pl
   ext/Compress-Raw-Zlib/Changes ext/Compress-Raw-Zlib/README
   ext/Compress-Zlib/Changes ext/Cwd/Changes ext/DB_File/Changes
-  ext/Encode/Changes ext/Sys/Syslog/Changes ext/Time/HiRes/Changes
+  ext/Encode/Changes ext/Sys/Syslog/Changes ext/Time-HiRes/Changes
   ext/Win32API-File/Changes lib/CGI/Changes lib/ExtUtils/CBuilder/Changes
   lib/ExtUtils/Changes lib/ExtUtils/NOTES lib/ExtUtils/PATCHING
   lib/ExtUtils/README lib/Module/Build/Changes lib/Net/Ping/Changes
@@ -645,9 +645,9 @@ be kept as clean as possible.
                         - Cygwin has syslog.h
   ext/Sys/Syslog/win32/compile.pl
                         - Convert paths to Windows paths
-  ext/Time/HiRes/HiRes.xs
+  ext/Time-HiRes/HiRes.xs
                         - Various timers not available
-  ext/Time/HiRes/Makefile.PL
+  ext/Time-HiRes/Makefile.PL
                         - Find w32api/windows.h
   ext/Win32/Makefile.PL - Use various libraries under Cygwin
   ext/Win32/Win32.xs    - Child dir and child env under Cygwin
@@ -663,7 +663,7 @@ be kept as clean as possible.
                         - Use binary mode under Cygwin
   ext/Sys/Syslog/win32/Win32.pm
                         - Convert paths to Windows paths
-  ext/Time/HiRes/HiRes.pm
+  ext/Time-HiRes/HiRes.pm
                         - Comment about various timers not available
   ext/Win32API-File/File.pm
                         - _open_osfhandle not implemented under Cygwin
@@ -727,7 +727,7 @@ be kept as clean as possible.
   ext/POSIX/t/time.t
   ext/SDBM_File/t/sdbm.t
   ext/Sys/Syslog/t/syslog.t
-  ext/Time/HiRes/t/HiRes.t
+  ext/Time-HiRes/t/HiRes.t
   ext/Win32/t/Unicode.t
   ext/Win32API-File/t/file.t
   ext/Win32CORE/t/win32core.t
similarity index 99%
rename from ext/Time/HiRes/Makefile.PL
rename to ext/Time-HiRes/Makefile.PL
index 2fe6cf4..c441998 100644 (file)
@@ -100,7 +100,7 @@ sub try_compile_and_link {
 
        if ($ENV{PERL_CORE}) {
            my $updir = File::Spec->updir;
-           $COREincdir = File::Spec->catdir(($updir) x 3);
+           $COREincdir = File::Spec->catdir(($updir) x 2);
        } else {
            $COREincdir = File::Spec->catdir($Config{'archlibexp'}, 'CORE');
        }
index bc5d412..e16ffb4 100644 (file)
@@ -6,6 +6,6 @@
 #
 
 ext/IPC-SysV
-ext/Time/HiRes
+ext/Time-HiRes
 ext/Win32API-File
 ext/DB_File
diff --git a/util.c b/util.c
index 521a8c2..ea84cda 100644 (file)
--- a/util.c
+++ b/util.c
@@ -5568,7 +5568,7 @@ S_mem_log_common(enum mem_log_type mlt, const UV n, const UV typesize, const cha
         (void)time(&when);
 #   endif
        /* If there are other OS specific ways of hires time than
-        * gettimeofday() (see ext/Time/HiRes), the easiest way is
+        * gettimeofday() (see ext/Time-HiRes), the easiest way is
         * probably that they would be used to fill in the struct
         * timeval. */
 # endif