openbsd-ports/converters/p5-DateManip/patches/patch-Manip_pm
sturm 5c37ba1524 - update to DateManip 5.42a
- do unlink-test in /tmp instead of where your perl binary resides

maintainer timeout
2004-05-10 19:41:33 +00:00

13 lines
478 B
Plaintext

$OpenBSD$
--- Manip.pm.orig 2004-05-01 19:08:05.000000000 +0200
+++ Manip.pm 2004-05-01 19:09:16.000000000 +0200
@@ -32,7 +32,7 @@ $OS="VMS" if (defined $^O and
$^O =~ /VMS/i);
# Determine if we're doing taint checking
-$Date::Manip::NoTaint = eval { local $^W; unlink "$^X$^T"; 1 };
+$Date::Manip::NoTaint = eval { local $^W; unlink "/tmp/$^X$^T"; 1 };
###########################################################################
# CUSTOMIZATION