summaryrefslogtreecommitdiff
path: root/ext/Errno
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-11-13 16:29:37 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-11-13 16:29:37 +0000
commit8bc9d5905854a266b70e2103e09a997741ac5d52 (patch)
tree19de64e13d2a6cc5cdbd12418676c9703d327fbb /ext/Errno
parent1eeb0f31cd73d85a0db15ba3ace4e4d1691c4226 (diff)
downloadperl-8bc9d5905854a266b70e2103e09a997741ac5d52.tar.gz
$Config{myarchname} is not a good architecture identifier
because it may contain host/node identification like CPU serial numbers. p4raw-id: //depot/cfgperl@4561
Diffstat (limited to 'ext/Errno')
-rw-r--r--ext/Errno/Errno_pm.PL5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/Errno/Errno_pm.PL b/ext/Errno/Errno_pm.PL
index c0598a4acd..7f884a8eed 100644
--- a/ext/Errno/Errno_pm.PL
+++ b/ext/Errno/Errno_pm.PL
@@ -180,8 +180,9 @@ use Exporter ();
use Config;
use strict;
-\$Config{'myarchname'} eq "$Config{'myarchname'}" or
- die "Errno architecture ($Config{'myarchname'}) does not match executable architecture (\$Config{'myarchname'})";
+"\$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";
\@ISA = qw(Exporter);