projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7486cb
)
Based on
author
Olaf Flebbe
<o.flebbe@science-computing.de>
Mon, 2 Apr 2001 23:36:51 +0000
(
01:36
+0200)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Mon, 2 Apr 2001 22:28:04 +0000
(22:28 +0000)
Subject: [foolperl] EPOC fix
Message-ID: <Pine.LNX.4.02.
10104022335380
.5547-100000@milkyway.science-computing.de>
p4raw-id: //depot/perl@9519
pp_sys.c
patch
|
blob
|
history
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);