summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorSpider Boardman <spider@orb.nashua.nh.us>1997-12-25 08:39:15 -0500
committerNick Ing-Simmons <nik@tiuk.ti.com>1998-01-17 21:01:50 +0000
commit982fa0b99bd3e50eaadd172e08c0a8e5cc2bdfc6 (patch)
treece04c1679f6253228ed5bd34ab2494cf7b3a488d /sv.c
parent6acef3b763804cf821b04bbbd732098df03addb7 (diff)
downloadperl-982fa0b99bd3e50eaadd172e08c0a8e5cc2bdfc6.tar.gz
5.004_56 threaded and "CONFIG key 'exe_ext' does not exist in Config.pm"
To: perl5-porters@perl.org It turns out that the potential for the "CONFIG key 'exe_ext' does not exist in Config.pm" problem has been around for a while, in the definition of SvTRUE(). It's just that non-gcc compilers are more or less being built as CRIPPLED_CC when USE_THREADS is defined (even if they can inline things). The inline macro for SvTRUE works with tied hashes and the EXISTS method, and the functional version (sv_true in 5.004_56, or SvTRUE in 5.004_04) does not, because it adds an excess mg_get() which replaces the EXISTS result with a FETCH result. p4raw-id: //depot/ansiperl@429
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sv.c b/sv.c
index 0371100011..196d08c120 100644
--- a/sv.c
+++ b/sv.c
@@ -3703,8 +3703,6 @@ sv_true(register SV *sv)
dTHR;
if (!sv)
return 0;
- if (SvGMAGICAL(sv))
- mg_get(sv);
if (SvPOK(sv)) {
register XPV* tXpv;
if ((tXpv = (XPV*)SvANY(sv)) &&