projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
memcpy has n o in it, as pinted ut by Sarathy.
[p5sagit/p5-mst-13.2.git]
/
doio.c
diff --git
a/doio.c
b/doio.c
index
8789df9
..
19f7861
100644
(file)
--- a/
doio.c
+++ b/
doio.c
@@
-1917,6
+1917,9
@@
Perl_do_msgrcv(pTHX_ SV **mark, SV **sp)
id = SvIVx(*++mark);
mstr = *++mark;
+ /* suppress warning when reading into undef var --jhi */
+ if (! SvOK(mstr))
+ sv_setpvn(mstr, "", 0);
msize = SvIVx(*++mark);
mtype = (long)SvIVx(*++mark);
flags = SvIVx(*++mark);