Convert patch 68_debian_errno_ver into branch debian/errno_ver
authorNiko Tyni <ntyni@debian.org>
Sun, 4 Jan 2009 12:42:29 +0000 (14:42 +0200)
committerNiko Tyni <ntyni@debian.org>
Sun, 4 Jan 2009 12:42:29 +0000 (14:42 +0200)
.topdeps [new file with mode: 0644]
.topmsg [new file with mode: 0644]
ext/Errno/Errno_pm.PL

diff --git a/.topdeps b/.topdeps
new file mode 100644 (file)
index 0000000..0459513
--- /dev/null
+++ b/.topdeps
@@ -0,0 +1 @@
+upstream
diff --git a/.topmsg b/.topmsg
new file mode 100644 (file)
index 0000000..093573e
--- /dev/null
+++ b/.topmsg
@@ -0,0 +1,8 @@
+Subject: Remove Errno version check due to upgrade problems with long-running processes.
+
+Closes: 343351
+
+Remove version check which can cause problems for long running
+processes embedding perl when upgrading to a newer version,
+compatible, but built on a different machine.
+
index 6f20c5e..c6bf9ed 100644 (file)
@@ -337,13 +337,8 @@ EOF
 package Errno;
 our (\@EXPORT_OK,\%EXPORT_TAGS,\@ISA,\$VERSION,\%errno,\$AUTOLOAD);
 use Exporter ();
-use Config;
 use strict;
 
-"\$Config{'archname'}-\$Config{'osvers'}" eq
-"$Config{'archname'}-$Config{'osvers'}" or
-       die "Errno architecture ($Config{'archname'}-$Config{'osvers'}) does not match executable architecture (\$Config{'archname'}-\$Config{'osvers'})";
-
 \$VERSION = "$VERSION";
 \$VERSION = eval \$VERSION;
 \@ISA = qw(Exporter);