summaryrefslogtreecommitdiff
path: root/doop.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-05-14 23:34:26 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-05-14 23:34:26 +0000
commitee580363108be8ac33155650c6c18d2e5cf051f3 (patch)
tree624481ea9b43b14435199892029f54adfa629ab2 /doop.c
parent7b8d334a971230040a212bc5038097b3f600a094 (diff)
downloadperl-ee580363108be8ac33155650c6c18d2e5cf051f3.tar.gz
[win32] merge change#904 from maintbranch
p4raw-link: @904 on //depot/maint-5.004/perl: 0af7994b889ad0dfcacb011f16f9e3c77a9292b9 p4raw-id: //depot/win32/perl@975
Diffstat (limited to 'doop.c')
-rw-r--r--doop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/doop.c b/doop.c
index 11dc837b33..e7c5e359d3 100644
--- a/doop.c
+++ b/doop.c
@@ -106,7 +106,7 @@ do_join(register SV *sv, SV *del, register SV **mark, register SV **sp)
sv_upgrade(sv, SVt_PV);
if (SvLEN(sv) < len + items) { /* current length is way too short */
while (items-- > 0) {
- if (*mark) {
+ if (*mark && !SvGMAGIC(*mark) && SvOK(*mark)) {
SvPV(*mark, tmplen);
len += tmplen;
}