This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80626cf
)
One const too much. (Unfortunately, the Copy macro casts
author
Marcus Holland-Moritz
<mhx-perl@gmx.net>
Wed, 3 Oct 2007 11:29:58 +0000
(11:29 +0000)
committer
Marcus Holland-Moritz
<mhx-perl@gmx.net>
Wed, 3 Oct 2007 11:29:58 +0000
(11:29 +0000)
the constness away, so the compiler cannot detect this.)
p4raw-id: //depot/perl@32014
doio.c
patch
|
blob
|
blame
|
history
diff --git
a/doio.c
b/doio.c
index
b78b901
..
65adf91
100644
(file)
--- a/
doio.c
+++ b/
doio.c
@@
-2249,7
+2249,7
@@
Perl_do_shmio(pTHX_ I32 optype, SV **mark, SV **sp)
if (shm == (char *)-1) /* I hate System V IPC, I really do */
return -1;
if (optype == OP_SHMREAD) {
- c
onst c
har *mbuf;
+ char *mbuf;
/* suppress warning when reading into undef var (tchrist 3/Mar/00) */
if (! SvOK(mstr))
sv_setpvn(mstr, "", 0);