projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
for(;;), sort
[p5sagit/p5-mst-13.2.git]
/
pp_sys.c
diff --git
a/pp_sys.c
b/pp_sys.c
index
3285574
..
e2c4111
100644
(file)
--- a/
pp_sys.c
+++ b/
pp_sys.c
@@
-1561,6
+1561,10
@@
PP(pp_sysread)
(struct sockaddr *)namebuf, &bufsize);
if (count < 0)
RETPUSHUNDEF;
+#ifdef EPOC
+ /* Bogus return without padding */
+ bufsize = sizeof (struct sockaddr_in);
+#endif
SvCUR_set(bufsv, count);
*SvEND(bufsv) = '\0';
(void)SvPOK_only(bufsv);