summaryrefslogtreecommitdiff
path: root/time/p5-Time-HiRes/patches
diff options
context:
space:
mode:
authorwen <wen@pkgsrc.org>2013-10-02 02:44:24 +0000
committerwen <wen@pkgsrc.org>2013-10-02 02:44:24 +0000
commit68c2b18e19d68d2aee2caf70be5e8fddabbab05f (patch)
tree902c819095112223050a417bffdcfdf397f0eb89 /time/p5-Time-HiRes/patches
parent0bf107c2f25c2ae8eaefc20c26c158cf3c090f61 (diff)
downloadpkgsrc-68c2b18e19d68d2aee2caf70be5e8fddabbab05f.tar.gz
Update to 1.9726
Upstream changes: 1.9726 [2013-08-17] - Correct s/us splitting of usleep(1000000) [rt.cpan.org #78266]. - Avoid integer overflow in itimer-based alarm() with large argument [rt.cpan.org #87160]. - Define PERL_NO_INLINE_FUNCTIONS during probe compilations, to avoid false negatives caused by not linking with the perl core. - Be more careful about context in stat(). - Install into "site" directories by default on perl 5.11+ [rt.cpan.org #79797]. - Fix a couple of doc typos [rt.cpan.org #85365]. - Fix function name in a doc example [rt.cpan.org #86318]. - Provide lstat() that yields high-res timestamps, alongside the existing high-res stat() [rt.cpan.org #78732].
Diffstat (limited to 'time/p5-Time-HiRes/patches')
-rw-r--r--time/p5-Time-HiRes/patches/patch-HiRes.xs16
1 files changed, 0 insertions, 16 deletions
diff --git a/time/p5-Time-HiRes/patches/patch-HiRes.xs b/time/p5-Time-HiRes/patches/patch-HiRes.xs
deleted file mode 100644
index 23e0b41eaf2..00000000000
--- a/time/p5-Time-HiRes/patches/patch-HiRes.xs
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: patch-HiRes.xs,v 1.2 2012/07/09 06:33:35 wiz Exp $
-
-Fix off-by-one. From Michai Ramakers in PR 46673.
-https://rt.cpan.org/Public/Bug/Display.html?id=78266
-
---- HiRes.xs.orig 2011-06-08 18:36:38.000000000 +0000
-+++ HiRes.xs
-@@ -792,7 +792,7 @@ usleep(useconds)
- CODE:
- gettimeofday(&Ta, NULL);
- if (items > 0) {
-- if (useconds > 1E6) {
-+ if (useconds >= 1E6) {
- IV seconds = (IV) (useconds / 1E6);
- /* If usleep() has been implemented using setitimer()
- * then this contortion is unnecessary-- but usleep()