summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-05-08 12:52:28 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-05-08 12:52:28 +0000
commit60fa28ff167ee89aee5425de954aa6183c50b55a (patch)
tree480657b809ab47023e4a6a9eae68ecd68f5ca88b /sv.c
parente84ff256a2982e8c96a05c380a48c0d1a6cb3af9 (diff)
downloadperl-60fa28ff167ee89aee5425de954aa6183c50b55a.tar.gz
fork() failure to create pseudo process sets errno=EAGAIN and returns
undef on windows (from Clinton Pierce <clintp@geeksalad.org>) p4raw-id: //depot/perl@6093
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sv.c b/sv.c
index fb68efae2f..5517355de0 100644
--- a/sv.c
+++ b/sv.c
@@ -3467,7 +3467,7 @@ Perl_sv_insert(pTHX_ SV *bigstr, STRLEN offset, STRLEN len, char *little, STRLEN
if (!bigstr)
Perl_croak(aTHX_ "Can't modify non-existent substring");
SvPV_force(bigstr, curlen);
- SvPOK_only_UTF8(bigstr);
+ (void)SvPOK_only_UTF8(bigstr);
if (offset + len > curlen) {
SvGROW(bigstr, offset+len+1);
Zero(SvPVX(bigstr)+curlen, offset+len-curlen, char);